FPDF error: Unsupported image type: png?resize=502%2c350&ssl=1