TCPDF error: Unsupported image type: jpg?resize=840%2c450