TCPDF error: Unsupported image type: php?view=image&format=raw&type=img&id=12709&option=com_joomgallery&itemid=47