[Skip to main content](#vessel-content)

#   Only show lightbox from large image

##

- **[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")**
- [![adeycorp's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-03.jpg)](/forum/user/5738-adeycorp "View adeycorp's Profile") Topic Author
- [ Offline](/forum/user/5738-adeycorp)

Less More

- Posts: 16
- Thank you received: 1
-
-
-
- [](http://www.adeycorp.co.uk)
-

13 years 5 months ago [\#107082](#107082) by [adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")  *[Only show lightbox from large image](/forum/4-how-to/83167-only-show-lightbox-from-large-image#107082 "I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the...")* was created by *[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")*

I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the large image changes then when you click the large image you get the lightbox.

Can anyone help me with this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTY3LW9ubHktc2hvdy1saWdodGJveC1mcm9tLWxhcmdlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 5 months ago -  13 years 5 months ago [\#107095](#107095) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Only show lightbox from large image](/forum/4-how-to/83167-only-show-lightbox-from-large-image#107095 "I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the...")*

Hi,

I didn't understood what you exactly wanted to do can you explain it with some screenshots for exemple ?
I think that you'll maybe find some answer [ there](http://www.hikashop.com/en/forum/4-how-to/42947-lightbox-on-product-page.html) :

> There is a tutorial for the integration of "ShadowBox Media Player":
> [ www.hikashop.com/en/support/documentatio...ox-media-player.html](http://www.hikashop.com/en/support/documentatio...ox-media-player.html)

Last edit: 13 years 5 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTY3LW9ubHktc2hvdy1saWdodGJveC1mcm9tLWxhcmdlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")**
- [![adeycorp's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-03.jpg)](/forum/user/5738-adeycorp "View adeycorp's Profile") Topic Author
- [ Offline](/forum/user/5738-adeycorp)

Less More

- Posts: 16
- Thank you received: 1
-
-
-
- [](http://www.adeycorp.co.uk)
-

13 years 5 months ago -  13 years 5 months ago [\#107102](#107102) by [adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")  Replied by *[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")* on topic *[Only show lightbox from large image](/forum/4-how-to/83167-only-show-lightbox-from-large-image#107102 "I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the...")*

Thank you for your reply and sorry that I didnt explain it better. I will try again :laugh:

Firstly I am already running Shadowbox Media Viewer which has added the extra bits missing from the default lightbox. So I have attached some photos. What I want is when you click the image marked in red, that it to show where the image marked in blue is. Then when you click the image marked in blue it opens the lightbox up.

Is that better? ![:cheer:](/media/kunena/emoticons/2.png ":cheer:") ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")

- [ ![LightBoxIssuesCapture.PNG](/forum/attachment/10382) ](/forum/attachment/10382 "...uesCapture.PNG") [ ](/forum/attachment/10382?download=1 "...uesCapture.PNG")
- [ ![LightBoxIssuesCapture1.PNG](/forum/attachment/10383) ](/forum/attachment/10383 "...esCapture1.PNG") [ ](/forum/attachment/10383?download=1 "...esCapture1.PNG")

Last edit: 13 years 5 months ago by [adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTY3LW9ubHktc2hvdy1saWdodGJveC1mcm9tLWxhcmdlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 5 months ago [\#107191](#107191) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Only show lightbox from large image](/forum/4-how-to/83167-only-show-lightbox-from-large-image#107191 "I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the...")*

There is no option for that.

You will have to change the code: Code:

$html = '&lt;a title="'.$alt.'" class="hikashop_image_small_link" rel="{handler: \'image\'}" href="'.$this-&gt;uploadFolder_url.$path.'" onclick="SqueezeBox.fromElement(this,{parse: \'rel\'});return false;" target="_blank" onmouseover="return hikashopChangeImage(\''.$addpopup.'\',\''.$this-&gt;uploadFolder_url_thumb.'\',\''.$this-&gt;thumbnail_x.'\',\''.$this-&gt;thumbnail_y.'\',this,\''.$alt.'\');" '.$optionslink.'&gt;'.$html.'&lt;/a&gt;';

to: Code:

$html = '&lt;a title="'.$alt.'" class="hikashop_image_small_link" rel="{handler: \'image\'}" href="'.$this-&gt;uploadFolder_url.$path.'" onclick="return hikashopChangeImage(\''.$addpopup.'\',\''.$this-&gt;uploadFolder_url_thumb.'\',\''.$this-&gt;thumbnail_x.'\',\''.$this-&gt;thumbnail_y.'\',this,\''.$alt.'\');" '.$optionslink.'&gt;'.$html.'&lt;/a&gt;';

in the file administrator/components/com_hikashop/helpers/image.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTY3LW9ubHktc2hvdy1saWdodGJveC1mcm9tLWxhcmdlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")**
- [![adeycorp's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-03.jpg)](/forum/user/5738-adeycorp "View adeycorp's Profile") Topic Author
- [ Offline](/forum/user/5738-adeycorp)

Less More

- Posts: 16
- Thank you received: 1
-
-
-
- [](http://www.adeycorp.co.uk)
-

13 years 5 months ago [\#107408](#107408) by [adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")  Replied by *[adeycorp](/forum/user/5738-adeycorp "View adeycorp's Profile")* on topic *[Only show lightbox from large image](/forum/4-how-to/83167-only-show-lightbox-from-large-image#107408 "I would like to change when the lightbox image shows. Instead of it showing when you click the thumbnail I would like to show when you click the main large image. So you click the thumbnail and the...")*

Thank you for that, it as sort of worked. But think the problem now is due to the Art Zoomin plugin but I have emailed them about that one. I will update you guys soon.

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTY3LW9ubHktc2hvdy1saWdodGJveC1mcm9tLWxhcmdlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.098 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
