TCPDF error: Unsupported image type: jpg?maxwidth=300&maxheight=300