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