TCPDF error: Unsupported image type: php?option=com_datsogallery&func=download&id=6573&itemid=13