no resize_preview image and link on pixellove k2full item
- GK User
- Sun Jul 29, 2012 8:58 am
hello:
I want that in k2 full item -(standard article) dont resize and no link the image. I want a normal image as joomla article . In all k2 full items of the web page.
Sure that this is posible... but how?
See attachments
THANKS ALOT !!
I want that in k2 full item -(standard article) dont resize and no link the image. I want a normal image as joomla article . In all k2 full items of the web page.
Sure that this is posible... but how?
See attachments
THANKS ALOT !!
-

- Fresh Boarder
- GK User
- Sun Jul 29, 2012 10:55 pm
Hi,
Open file: /templates/gk_pixellove/html/com_k2/templates/default/item.php
Find:
Change to:
Let me know if it helps.
Thanks,
Open file: /templates/gk_pixellove/html/com_k2/templates/default/item.php
Find:
- Code: Select all
<a class="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>
Change to:
- 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;" />
Let me know if it helps.
Thanks,
-

- Platinum Boarder
- GK User
- Thu Aug 02, 2012 11:43 am
SOLVED !!
GREAT JOB DON !!
GREAT JOB DON !!
-

- Fresh Boarder
- GK User
- Fri Aug 03, 2012 2:12 pm
You're welcome, feel free to let me know if you need any further assistance.
Have a nice day,
Have a nice day,
-

- Platinum Boarder
4 posts
• Page 1 of 1
