TCPDF error: Unsupported image type: jpg?resize=1362,1629&ssl=1