TCPDF error: Unsupported image type: jpg?imgmax=160&crop=1