TCPDF error: Unsupported image type: jpg?w=400&h=1181