TCPDF error: Unsupported image type: jpg?x=500&base=big