TCPDF error: Unsupported image type: jpeg?resize=300%2c300