TCPDF error: Unsupported image type: jpg?resize=698%2c516&ssl=1