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