TCPDF error: Unsupported image type: jpg?resize=1024%2c768