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