Keyword

Image popup

  • komir
  • komir's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 2 months ago #179473 by komir
Image popup was created by komir
Hi is it possible, in the category view demo.getk2.org/catalog/category/17-women-s-collection (see here nimb.ws/VvGNue), item image to be popup image, not link to the product?
Thank you

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #179485 by JoomlaWorks
Replied by JoomlaWorks on topic Image popup
Of course it's possible. All you have to do is add the code to swap the link to the item with a link to a larger version of the image.

For that, it's best to have your own set of template overrides for K2. Start here for that: getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates

The file you're looking to modify is this: github.com/getk2/k2/blob/master/components/com_k2/templates/default/category_item.php

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum