TCPDF error: Unsupported image type: jpg?resize=335%2c256