TCPDF error: Unsupported image type: jpg?resize=558,381