TCPDF error: Unsupported image type: jpg?resize=417%2c420&ssl=1