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

#   Product page - not clickable image

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 6 months ago [\#101348](#101348) by [Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")  *[Product page - not clickable image](/forum/4-how-to/81071-product-page-not-clickable-image#101348 "Hi,  I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)? Could you please let me know how to achieve this?  Thank you Regards")* was created by *[Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")*

Hi,

I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)?
Could you please let me know how to achieve this?

Thank you
Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMDcxLXByb2R1Y3QtcGFnZS1ub3QtY2xpY2thYmxlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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 6 months ago -  13 years 6 months ago [\#101394](#101394) 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 *[Product page - not clickable image](/forum/4-how-to/81071-product-page-not-clickable-image#101394 "Hi,  I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)? Could you please let me know how to achieve this?  Thank you Regards")*

Hi,

If you want to do it, I think that you'll have to directly edit the code of your "show_block_img" file of your product view of your front-end template through "*Hikashop-&gt;Display-&gt;Views*".

Hope this will help you a little.

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

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 6 months ago [\#101536](#101536) by [Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")  Replied by *[Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")* on topic *[Product page - not clickable image](/forum/4-how-to/81071-product-page-not-clickable-image#101536 "Hi,  I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)? Could you please let me know how to achieve this?  Thank you Regards")*

Hello,

Thank you for your help

I have indeed try to look at this file and I believe the line I need to change is this one:
"echo $this-&gt;image-&gt;display(@$image-&gt;file_path,true,@$image-&gt;file_name,'id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;,'id="hikashop_main_image_link"', $width, $height);"
It seems to call on a function where I suppose there will be the zhqt I am after but I do not know where to find it??

Thank you again!
Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMDcxLXByb2R1Y3QtcGFnZS1ub3QtY2xpY2thYmxlLWltYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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 6 months ago [\#101594](#101594) 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 *[Product page - not clickable image](/forum/4-how-to/81071-product-page-not-clickable-image#101594 "Hi,  I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)? Could you please let me know how to achieve this?  Thank you Regards")*

Hi !

Ok so the solutions would be :
1. To do it by editing the code of your "show_block_img" file, so you'll just have to this line : Code:

&lt;?php echo $this-&gt;image-&gt;display(@$image-&gt;file_path,true,@$image-&gt;file_name,'id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link"', $width, $height);

Code:

&lt;?php echo $this-&gt;image-&gt;display(@$image-&gt;file_path,false,@$image-&gt;file_name,'id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link"', $width, $height);

2.
another solution would be to do it with some CSS code like : Code:

\#hikashop_main_image_link { pointer-events: none; cursor: default; }

The following user(s) said Thank You: [Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 6 months ago [\#102290](#102290) by [Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")  Replied by *[Dundaho27](/forum/user/13567-dundaho27 "View Dundaho27's Profile")* on topic *[Product page - not clickable image](/forum/4-how-to/81071-product-page-not-clickable-image#102290 "Hi,  I would like the image on the product page to be not clickable (just now, when you click on it, it enlarges the image in a pop up window)? Could you please let me know how to achieve this?  Thank you Regards")*

Hi,
Tried the first proposition and it works perfectly!
Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxMDcxLXByb2R1Y3QtcGFnZS1ub3QtY2xpY2thYmxlLWltYWdlP3RtcGw9bWFya2Rvd24=) 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.052 seconds

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