Thanks, but please help me, I don't know PHP language, only something of HTML
- Code: Select all
<?php if($params->get('itemImage') && !empty($this->item->image)): ?>
<div class="itemImageBlock"> <a class="itemImage modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>"> <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" /> </a>
<?php if($params->get('itemImageMainCredits') && !empty($this->item->image_credits)): ?>
<span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
<?php endif; ?>
<?php if($params->get('itemImageMainCaption') && !empty($this->item->image_caption)): ?>
<span class="itemImageCaption"><?php echo $this->item->image_caption; ?></span>
<?php endif; ?>
</div>
<?php endif; ?>
I think these lines of code, but what exactly, I would like to remove the link that is the magnification of the image, also in the category of k2. For tablets and smartphones are a torture.
thank you very much
Fabrizio