TCPDF error: Unsupported image type: jpeg?h=500&w=947&crop=auto&scale=both&quality=80&404=default&format=jpg