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

#   Productpage shows thumbnail image after hover

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 6 months ago [\#15754](#15754) by [antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")  *[Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15754 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")* was created by *[antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")*

I have a problem with the productpage of Hikashop.

I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:
Code:

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"');

to this:
Code:

echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;';

and this:
Code:

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_'.$variant_name.'_link"');

to this:
Code:

echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image_'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;';

So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...

I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...

Here's what I mean: [ www.blv-service.nl/welkom/index.php/cata.../category\_pathway-13](http://www.blv-service.nl/welkom/index.php/catalogus/product/show/cid-2/name-oer-hollandse-klompen/category_pathway-13)

Hope someone can help me out! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzU0LXByb2R1Y3RwYWdlLXNob3dzLXRodW1ibmFpbC1pbWFnZS1hZnRlci1ob3Zlcj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 6 months ago [\#15761](#15761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15761 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

You should add the line:
$this-&gt;image-&gt;no_size_override = 1;

just after these lines so that it uses the main image URL and not the thumbnail's.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 6 months ago -  15 years 6 months ago [\#15767](#15767) by [antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")  Replied by *[antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15767 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

Thanks for the quick reply!

I tried this, but didn't work:
Code:

echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; $this-&gt;image-&gt;no_size_override = 1;

Code:

echo '&lt;img src="'.$this-&gt;image-&gt;uploadFolder_url.$image-&gt;file_path.'" alt="'.$image-&gt;file_name.'" id="hikashop_main_image_'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; $this-&gt;image-&gt;no_size_override = 1;

What am I missing?

Last edit: 15 years 6 months ago by [antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzU0LXByb2R1Y3RwYWdlLXNob3dzLXRodW1ibmFpbC1pbWFnZS1hZnRlci1ob3Zlcj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 6 months ago [\#15775](#15775) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15775 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

Do you use the latest version of HikaShop ?

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 6 months ago [\#15777](#15777) by [antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")  Replied by *[antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15777 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

I guess I do.. I use com_hikashop_starter_1.4.7_2011-03-18

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1NzU0LXByb2R1Y3RwYWdlLXNob3dzLXRodW1ibmFpbC1pbWFnZS1hZnRlci1ob3Zlcj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 6 months ago [\#15793](#15793) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15793 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

That's a 2 months old release. Please update to the latest version and that should work.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 6 months ago [\#15811](#15811) by [antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")  Replied by *[antoinettedejongh](/forum/user/2452-antoinettedejongh "View antoinettedejongh's Profile")* on topic *[Re: Productpage shows thumbnail image after hover](/forum/4-how-to/15754-productpage-shows-thumbnail-image-after-hover#15811 "I have a problem with the productpage of Hikashop.  I wanted to change the imagesize on the productpage.. that worked well with changing the 'show.php' file:  to this:  and this:  to this:  So now my images are the right size, but it still uses the thumbnail image for it.. causing a very bad resolution in my images...  I want Hikashop to use the main image, instead of the thumbnail image even while/after hovering the child images...  Here's what I mean:   www.blv-service.nl/welkom/index.php/cata.../category&#95;pathway-13  Hope someone can help me out! :)")*

That worked! Thanks! ![:)](/media/kunena/emoticons/3.png ":)")

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

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