TCPDF error: Unsupported image type: jpg?resize=640%2c831&ssl=1