TCPDF error: Unsupported image type: jpg?resize=768%2c512&ssl=1