Add php Joomla Image Link

Αξιολόγηση Χρήστη:  / 1

In Joomla Platform we can use JHtml function to link a image

$url="http://wwww.vamjoo.com";
$url_image="http://wwww.vamjoo.com/images/imagename.jpg";
echo JHtml::_('link', $url, JHtml::_('image', $url_image, JText::_('COM_NO_IMAGE') ,array('width'=>'auto','title'=>'Image Title'), true),array('target'=>'_blank'),null);

Περισσότερα Άρθρα...