FPDF error: Unsupported image type: jpg?resize=768%2c518