Hi,
Is there a way to display image with articles by tag?
I have tryed this:
<?php if(!empty($this->item->image)): ?> <div class="related-img"> <a href="<?php echo $item->link ?>" title="<?php echo JText::_('for more information on '); ?><?php echo $item->title; ?><?php echo JText::_('click here'); ?>"> <img src="<?php echo JURI::root().'media/k2/items/cashe/'.md5("Image".$item->id).'_XS.png'; ?>" alt="<?php echo JText::_('Find out more about '); ?> <?php echo $item->title; ?>" /> </a> </div><?php endif; ?>
But it's not seem to work. Any advice please?
Is there a way to display image with articles by tag?
I have tryed this:
<?php if(!empty($this->item->image)): ?> <div class="related-img"> <a href="<?php echo $item->link ?>" title="<?php echo JText::_('for more information on '); ?><?php echo $item->title; ?><?php echo JText::_('click here'); ?>"> <img src="<?php echo JURI::root().'media/k2/items/cashe/'.md5("Image".$item->id).'_XS.png'; ?>" alt="<?php echo JText::_('Find out more about '); ?> <?php echo $item->title; ?>" /> </a> </div><?php endif; ?>
But it's not seem to work. Any advice please?