TCPDF error: Unsupported image type: jpg?width=310&height=354&mode=max