TCPDF error: Unsupported image type: jpg?resize=1151%2c768&ssl=1