TCPDF error: Unsupported image type: jpg?resize=768,576&ssl=1