FPDF error: Unsupported image type: png?resize=500%2c227