TCPDF error: Unsupported image type: jpg?h=508&w=980