TCPDF error: Unsupported image type: jpg?resize=1170%2c780