FPDF error: Unsupported image type: jpg?resize=247%2c300