TCPDF error: Unsupported image type: jpg?resize=334%2c331