TCPDF error: Unsupported image type: jpg?imgmax=640&crop=0