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