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

#   Img product dimension not resize correct

##

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89784](#89784) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89784 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")* was created by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")*

Hello, I set the size of the single product image in the product page in the global configuration.
My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel.
So the problem happens only on first access on the product page.

I use a css with only this code
div#hikashop_product_left_part img.hikashop_child_image{
margin : 2px;
height:80px;
}

Someone can help me?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODMwNS1pbWctcHJvZHVjdC1kaW1lbnNpb24tbm90LXJlc2l6ZS1jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#89830](#89830) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89830 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

Hi,

Try to add this property: Code:

div#hikashop_product_left_part img.hikashop_main_image{ margin : 2px; height:80px; }

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89833](#89833) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89833 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

Hi, thank you
for this product it works
[ www.actionstyleclothing.com/it/index.php...mex-tshirt-uomo-nero](http://www.actionstyleclothing.com/it/index.php/uomo/t-shirts/product/68-tex-mex-tshirt-uomo-nero)

but for this one and all the others does not work
[ www.actionstyleclothing.com/it/index.php...e-to-die-tshirt-uomo](http://www.actionstyleclothing.com/it/index.php/uomo/t-shirts/product/46-time-to-die-tshirt-uomo)

The different is the quantity of the photo and the charateristic

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODMwNS1pbWctcHJvZHVjdC1kaW1lbnNpb24tbm90LXJlc2l6ZS1jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#89889](#89889) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89889 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

Thanks to give us the acces to you website, else we can't see the pages.

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89915](#89915) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89915 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

Sorry, I forgot...
user action
pass style2012

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODMwNS1pbWctcHJvZHVjdC1kaW1lbnNpb24tbm90LXJlc2l6ZS1jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#89976](#89976) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89976 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

The thumbnails seems to be well sized on both products, you can set a min-height on the class "hikashop_main_image_div" to have a better view.

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#89985](#89985) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#89985 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

The thumbs are well resize.
But if you click the first time on the link you see the big image is bigger than if you click on the same image on the thumb.
This happen only on first access of the page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODMwNS1pbWctcHJvZHVjdC1kaW1lbnNpb24tbm90LXJlc2l6ZS1jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#90023](#90023) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#90023 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

In the view "product / show_block_img" try to replace the line: 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;';

By: Code:

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

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90090](#90090) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#90090 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

The modification does not works.
Ok, let's start from some base that I have some difficult to understand.

Which and where value/code I have to change to set the size of:

1-size of bigger image in the product: the one on the left to my description
2-size of thumb just under the bigger image
3-size of popup image when I click on thumb
3-size of image in the cart listing.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODMwNS1pbWctcHJvZHVjdC1kaW1lbnNpb24tbm90LXJlc2l6ZS1jb3JyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#90141](#90141) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#90141 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

All the options are in HikaShop &gt; Config &gt; Main &gt; Images.
You can click on the "help" in the toolbar for more informations.

Which version of HikaShop are you using ?

The following user(s) said Thank You: [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 8 months ago [\#90172](#90172) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Img product dimension not resize correct](/forum/3-bug-report/78305-img-product-dimension-not-resize-correct#90172 "Hello, I set the size of the single product image in the product page in the global configuration. My product has 4 images but when I click the product to see detail I see the image in real dimension(the size of the original upload image) but when I pass the mouse over a detailed photo, it is resized immediatly to the right dimension that I set in the configuration panel. So the problem happens only on first access on the product page.  I use a css with only this code div#hikashop&#95;product&#95;left&#95;part img.hikashop&#95;child&#95;image{ margin : 2px; height:80px; }  Someone can help me?  Thank you")*

Hi, this was the cause of all the problems of resizing!
Code:

However, that means that they could get quite blurry. In such cases, you can go the the folder media/com_hikashop/upload/thumbnail via FTP and delete all the files there.

I deleted the folder thumbnail and everythings is fix.
Thank you

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

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

[](#top)
