TCPDF error: Unsupported image type: jpg&dimension=0:480&action=resize