TCPDF error: Unsupported image type: jpg?resize=1240%2c1328