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

#   Click to enlarge

##

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago [\#46328](#46328) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  *[Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46328 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")* was created by *[shiri](/forum/user/6072-shiri "View shiri's Profile")*

Hi,

I would like to add "click to enlarge pic" under the product images.Is this the right code to add at the end of the css template?

.hikashop_product_image{url(../images/clicktoenlarge.png)

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago [\#46404](#46404) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46404 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

You're missing some bits.
Try like that:

.hikashop_product_image{background-image:url(../images/clicktoenlarge.png);}

Also, you will probably have to add some other things as it will be displayed as a background image and thus below the image.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago [\#46411](#46411) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  Replied by *[shiri](/forum/user/6072-shiri "View shiri's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46411 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

It doesn't work.What should I add more? I am not a developer but I am behaving like one ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago [\#46568](#46568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46568 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Can you give a link to your page so that we can see what you did ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago -  14 years 6 months ago [\#46573](#46573) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  Replied by *[shiri](/forum/user/6072-shiri "View shiri's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46573 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

I send you all the information you need (see Private message).Please have a look to the css template too because I override few of the Hikashop css there.Thank you

Last edit: 14 years 6 months ago by [shiri](/forum/user/6072-shiri "View shiri's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago [\#46673](#46673) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46673 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

You should use the class hikashop_product_main_image_thumb instead of the class hikashop_product_image which does not exists on the product page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago [\#46681](#46681) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  Replied by *[shiri](/forum/user/6072-shiri "View shiri's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46681 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

It is not working Nicolas.I added this at the end of the css template

.hikashop_product_main_image_thumb{background-image:url(../images/enlargeicon.png);}

Nothing happened

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago -  14 years 6 months ago [\#46836](#46836) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46836 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

I didn't see that CSS in your template CSS file: I've added it for you...
However, the does not exist either:
http://*********/templates/joomlage0040-emotion/images/enlargeicon.png

If you want us to customize that for you, please request a quote via our contact form and we'll do it for a small fee as this is not a support question but a customization question.

Last edit: 14 years 6 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago [\#46840](#46840) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  Replied by *[shiri](/forum/user/6072-shiri "View shiri's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46840 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Yes give me a quote for that..However I should wait till I got a response from the template administrator because he is working on few stuff on my template but he looks confused with the hikashop css .Please remove from your post above the link of my website because I am seeing those link everywhere when I market my website:) thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago [\#46949](#46949) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46949 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

I've changed the link.

I won't be available next week as I'm going to a conference and the rest of the team will be quite busy keeping up so you'll have to wait till the last week of april for us to work on that. That will give plenty of time to your administrator ![:)](/media/kunena/emoticons/8.png ":)")
Send us a message via our contact form with a link to that page if you want to proceed with that and we'll give you a quote.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shiri](/forum/user/6072-shiri "View shiri's Profile")**
- [![shiri's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6072-shiri "View shiri's Profile") Topic Author
- [ Offline](/forum/user/6072-shiri)

Less More

- Posts: 83
- Thank you received: 0
-
-

14 years 6 months ago -  14 years 6 months ago [\#46960](#46960) by [shiri](/forum/user/6072-shiri "View shiri's Profile")  Replied by *[shiri](/forum/user/6072-shiri "View shiri's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#46960 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Nicolas,

I saw one of your answer in the forum giving this code below to somebody,I applied it and it works except that I want when the mouse is not over the image it gets back to the normal size I used mouseout(shrink) but it look like I miss something

&lt;?php echo $this-&gt;image-&gt;display(@$image-&gt;file_path,true,@$image-&gt;file_name,'id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link" onMouseover="SqueezeBox.fromElement(this,{parse: \'rel\'});return false;" ', $width, $height); ?&gt;

Last edit: 14 years 6 months ago by [shiri](/forum/user/6072-shiri "View shiri's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 6 months ago [\#47066](#47066) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#47066 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

I don't think that you can do a mouseout once the popup is open. I don't see a solution for that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")**
- [![syabe&#95;m's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")
- [ Offline](/forum/user/32625-syabe-m)

Less More

- Posts: 17
- Thank you received: 0
-
-

12 years 3 months ago [\#163357](#163357) by [syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")  Replied by *[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163357 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi

i want also add "click to enlarge image" under the picture. i opened the file which i should add the text. but i dont know where and what exactly text i must add?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#163366](#163366) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163366 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi,

Which file did you opened ? You generally just have to add the text after the image part.
You can do many tests in order to get the desired result ![;)](/media/kunena/emoticons/11.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")**
- [![syabe&#95;m's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")
- [ Offline](/forum/user/32625-syabe-m)

Less More

- Posts: 17
- Thank you received: 0
-
-

12 years 3 months ago [\#163438](#163438) by [syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")  Replied by *[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163438 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi

could explain step by step what must i do

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 3 months ago [\#163442](#163442) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163442 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi,

You can add such HTML at the end of the file "show_img_block" via the menu Display&gt;views: Code:

&lt;a onclick="return window.localPage.openImage(\'hikashop_main_image&lt;?php echo $variant_name; ?&gt;\');" href=""&gt;Click to enlarge&lt;/a&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")**
- [![syabe&#95;m's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")
- [ Offline](/forum/user/32625-syabe-m)

Less More

- Posts: 17
- Thank you received: 0
-
-

12 years 3 months ago [\#163501](#163501) by [syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")  Replied by *[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163501 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

i tried this but it display at the end of product page and once click it goes to main page

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#163511](#163511) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163511 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi,

The given code should work, and the button must be displayed just under the image.

Are you sure that you are editing the correct view ?
Could you give us the full code ? please place the code between [code ] ... [/code ] (without spaces).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")**
- [![syabe&#95;m's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")
- [ Offline](/forum/user/32625-syabe-m)

Less More

- Posts: 17
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#163917](#163917) by [syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")  Replied by *[syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163917 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

dear

the click on large show under the image but when i click it transfer to main page
i add this on the file you mention

&lt;a onclick="return window.localPage.openImage(\'hikashop_main_image&lt;?php echo $variant_name; ?&gt;\');" href=""&gt;إضغط لتكبير الصورة&lt;/a&gt;

Last edit: 12 years 3 months ago by [syabe\_m](/forum/user/32625-syabe-m "View syabe&#95;m's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#163922](#163922) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Click to enlarge](/forum/4-how-to/46328-click-to-enlarge#163922 "Hi,  I would like to add &quot;click to enlarge pic&quot; under the product images.Is this the right code to add at the end of the css template?  .hikashop&#95;product&#95;image{url(../images/clicktoenlarge.png)  Thank you")*

Hi,

It means you have javascript errors in your page.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ2MzI4LWNsaWNrLXRvLWVubGFyZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.519 seconds

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

[](#top)
