TCPDF error: Unsupported image type: jpg?w=240&h=363