TCPDF error: Unsupported image type: php?view=image&format=raw&type=orig&id=1291&option=com_joomgallery&itemid=128