TCPDF error: Unsupported image type: jpeg?resize=300,188