TCPDF error: Unsupported image type: jpeg?resize=678%2c405&ssl=1