TCPDF error: Unsupported image type: jpg?resize=768%2c621