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