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