TCPDF error: Unsupported image type: jpg&maxheight=870&maxwidth=870