TCPDF error: Unsupported image type: jpeg?resize=708%2c501&ssl=1