TCPDF error: Unsupported image type: jpeg?resize=299,169&ssl=1