Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Image Gallery

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136965 by Eusebio Olegario López León
Image Gallery was created by Eusebio Olegario López León
Hello, I would like you to inform me if it is possible to make an image gallery where I am in the menu route: Collection / Women (for example) and with the same images of the category Women. I do not want is to be redirected to the items
thanks

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

More
10 years 7 months ago #136966 by Yiota
Replied by Yiota on topic Image Gallery
Hello,
You could make a small change in the category_item.php file located in templates/nufashion/html/com_k2/catalog and replace the following line
<a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>">
with
<a class="modal" rel="{handler: 'image'}" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>">
This will remove the item link from the image and will trigger a popup box for it.
Note that this will be applied in all of your item lists that are loading the catalog template. To narrow that down and have this functionality only for this specific category you will have to make a small check with the category's id and apply the appropriate code snippet above in each case.

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

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

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136967 by Eusebio Olegario López León
Replied by Eusebio Olegario López León on topic Image Gallery
Hi Yiota, thanks for your quick response. I have replaced the code that you tell me but does not open a "gallery images" I have only extended image when I do click on an image.
Maybe I did not explain well but I was saying I wish I could have an image gallery
Thank you so much for your help
Thank you so much for your help

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

More
10 years 7 months ago #136968 by Yiota
Replied by Yiota on topic Image Gallery
So what you actually want is to click on the item's image on the list and through a popup navigate to other images you have put in the image gallery of your item. Correct?

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

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

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136969 by Eusebio Olegario López León
Replied by Eusebio Olegario López León on topic Image Gallery
If it is possible only with the same images of Collection / Women (for example) but not with other images

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

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136970 by Eusebio Olegario López León
Replied by Eusebio Olegario López León on topic Image Gallery
I do not mind waiting if you can help me,
Thanks again

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

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136971 by Eusebio Olegario López León
Replied by Eusebio Olegario López León on topic Image Gallery
If you do not mind I can tell you the url of the demo template where I have seen the gallery of images that I want to implement in nuFashion.

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

More
10 years 7 months ago #136972 by Yiota
Replied by Yiota on topic Image Gallery
That would be helpful, thank you.

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

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

  • Eusebio Olegario López León
  • Eusebio Olegario López León's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #136973 by Eusebio Olegario López León
Replied by Eusebio Olegario López León on topic Image Gallery
According Yiota, the url is: www.templatemonster.com/demo/42545.html.
Exactly is in this path: My Portfolio/Colums3 (for example), I need it for a website for a photographer, including the text of the base of the image.

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

More
10 years 7 months ago #136974 by Yiota
Replied by Yiota on topic Image Gallery
You cannot link the category's item image with the gallery but what you can do is use the gallery in place of the category item image.

You can set the gallery to work in a Single thumbnail mode with the dimensions of the item image as its thumbnail size.

Then you will have to make some modification to the category_item.php of the catalog K2 template. Move the gallery block of code right under the item image code block.
Remember to Disable the category's item image from the K2 category parameters and include the image file in the gallery as your first image.
You might need some CSS but this is something to deal with after the functionality is set.

Let me know how it went.

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