Popup effect on the images

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Feb 03, 2015 9:18 pm
Reply with quote
Report this post
Hi
I want to remove the popup effect of all images of the K2 items
How I can do?
Thanks for your help
User avatar
Senior Boarder

GK User
Thu Feb 05, 2015 8:41 am
Reply with quote
Report this post
Hi,
this is default K2 feature, sorry dude ..what it means
to remove you have to cut off manually code from one file: templates\gk_rockwall\html\com_k2\templates\default\item.php
and there find
Code: Select all
<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>



Leave only this:
Code: Select all
<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;" />
User avatar
Platinum Boarder

GK User
Thu Feb 05, 2015 11:04 am
Reply with quote
Report this post
It works....
thank you for your help
User avatar
Senior Boarder

GK User
Thu Feb 05, 2015 1:54 pm
Reply with quote
Report this post
Remember about this change if will be next template update.
because soon new version of K2 should be....
User avatar
Platinum Boarder


cron