TCPDF error: Unsupported image type: jpg?resize=640,360&ssl=1