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

#   Product Page Issues

##

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

Less More

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

15 years 9 months ago [\#8480](#8480) by [blamookie](/forum/user/1190-blamookie "View blamookie's Profile")  *[Product Page Issues](/forum/4-how-to/8480-product-page-issues#8480 "I have used the code in Display-&gt;Views  echo 'file&#95;name.'&quot; id=&quot;hikashop&#95;main&#95;image&quot; style=&quot;margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle&quot; /&gt;';  which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. &quot;Size: S/M/L/XL&quot; my product page images change back to the small images when i select different sizes.  I would also like be able to hover over product to enlarge images before entering the product page.  I tried this code in administrator/component/com&#95;hikashop/helpers/image.php from another thread but nothing happened.  $html = 'uploadFolder&#95;url.$path.'&quot; onhover=&quot;SqueezeBox.fromElement(this);return false;&quot; '.$optionslink.'&gt;'.$html.'';  Can anyone help?  My site is currently under construction:   greenhellclothing.schoolspace.ie  TEES/HOODIES sections are my shop pages.")* was created by *[blamookie](/forum/user/1190-blamookie "View blamookie's Profile")*

I have used the code in Display-&gt;Views

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

which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. "Size: S/M/L/XL" my product page images change back to the small images when i select different sizes.

I would also like be able to hover over product to enlarge images before entering the product page.

I tried this code in administrator/component/com_hikashop/helpers/image.php from another thread but nothing happened.

$html = '&lt;a rel="{handler: \'iframe\', size: {x: '.$this-&gt;width.', y: '.$this-&gt;height.'}}" target="_blank" href="'.$this-&gt;uploadFolder_url.$path.'" onhover="SqueezeBox.fromElement(this);return false;" '.$optionslink.'&gt;'.$html.'&lt;/a&gt;';

Can anyone help?

My site is currently under construction: [ greenhellclothing.schoolspace.ie](http://greenhellclothing.schoolspace.ie)

TEES/HOODIES sections are my shop pages.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg0ODAtcHJvZHVjdC1wYWdlLWlzc3Vlcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

15 years 9 months ago [\#8490](#8490) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product Page Issues](/forum/4-how-to/8480-product-page-issues#8490 "I have used the code in Display-&gt;Views  echo 'file&#95;name.'&quot; id=&quot;hikashop&#95;main&#95;image&quot; style=&quot;margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle&quot; /&gt;';  which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. &quot;Size: S/M/L/XL&quot; my product page images change back to the small images when i select different sizes.  I would also like be able to hover over product to enlarge images before entering the product page.  I tried this code in administrator/component/com&#95;hikashop/helpers/image.php from another thread but nothing happened.  $html = 'uploadFolder&#95;url.$path.'&quot; onhover=&quot;SqueezeBox.fromElement(this);return false;&quot; '.$optionslink.'&gt;'.$html.'';  Can anyone help?  My site is currently under construction:   greenhellclothing.schoolspace.ie  TEES/HOODIES sections are my shop pages.")*

If you use variants, you also need to replace the line:
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"');

by the line:
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;';

in the file show of the view product that you already edited via the menu Display-&gt;Views.

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

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

Less More

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

15 years 9 months ago [\#8500](#8500) by [blamookie](/forum/user/1190-blamookie "View blamookie's Profile")  Replied by *[blamookie](/forum/user/1190-blamookie "View blamookie's Profile")* on topic *[Re: Product Page Issues](/forum/4-how-to/8480-product-page-issues#8500 "I have used the code in Display-&gt;Views  echo 'file&#95;name.'&quot; id=&quot;hikashop&#95;main&#95;image&quot; style=&quot;margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle&quot; /&gt;';  which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. &quot;Size: S/M/L/XL&quot; my product page images change back to the small images when i select different sizes.  I would also like be able to hover over product to enlarge images before entering the product page.  I tried this code in administrator/component/com&#95;hikashop/helpers/image.php from another thread but nothing happened.  $html = 'uploadFolder&#95;url.$path.'&quot; onhover=&quot;SqueezeBox.fromElement(this);return false;&quot; '.$optionslink.'&gt;'.$html.'';  Can anyone help?  My site is currently under construction:   greenhellclothing.schoolspace.ie  TEES/HOODIES sections are my shop pages.")*

Nicolas thanks for the quick reply, that worked perfectly.

Is it possible to hover over the images and enlarge the thumbnail before entering the product pages?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg0ODAtcHJvZHVjdC1wYWdlLWlzc3Vlcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

15 years 9 months ago [\#8503](#8503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product Page Issues](/forum/4-how-to/8480-product-page-issues#8503 "I have used the code in Display-&gt;Views  echo 'file&#95;name.'&quot; id=&quot;hikashop&#95;main&#95;image&quot; style=&quot;margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle&quot; /&gt;';  which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. &quot;Size: S/M/L/XL&quot; my product page images change back to the small images when i select different sizes.  I would also like be able to hover over product to enlarge images before entering the product page.  I tried this code in administrator/component/com&#95;hikashop/helpers/image.php from another thread but nothing happened.  $html = 'uploadFolder&#95;url.$path.'&quot; onhover=&quot;SqueezeBox.fromElement(this);return false;&quot; '.$optionslink.'&gt;'.$html.'';  Can anyone help?  My site is currently under construction:   greenhellclothing.schoolspace.ie  TEES/HOODIES sections are my shop pages.")*

Everything is possible if you know how to code it but enlarging the image when you hover over them on the products listing won't be easy to add. We can't provide such modifications on the forum

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

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

Less More

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

15 years 9 months ago [\#8505](#8505) by [blamookie](/forum/user/1190-blamookie "View blamookie's Profile")  Replied by *[blamookie](/forum/user/1190-blamookie "View blamookie's Profile")* on topic *[Re: Product Page Issues](/forum/4-how-to/8480-product-page-issues#8505 "I have used the code in Display-&gt;Views  echo 'file&#95;name.'&quot; id=&quot;hikashop&#95;main&#95;image&quot; style=&quot;margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle&quot; /&gt;';  which i found on another thread to make sure my product images are shown as a large picture but when i added variations i.e. &quot;Size: S/M/L/XL&quot; my product page images change back to the small images when i select different sizes.  I would also like be able to hover over product to enlarge images before entering the product page.  I tried this code in administrator/component/com&#95;hikashop/helpers/image.php from another thread but nothing happened.  $html = 'uploadFolder&#95;url.$path.'&quot; onhover=&quot;SqueezeBox.fromElement(this);return false;&quot; '.$optionslink.'&gt;'.$html.'';  Can anyone help?  My site is currently under construction:   greenhellclothing.schoolspace.ie  TEES/HOODIES sections are my shop pages.")*

That's fine it's not a major thing anyway I'll keep it simple.

Thanks again.

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

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