TCPDF error: Unsupported image type: jpg?maxwidth=640&shape=thumb&fidelity=medium