- Posts: 84
- Thank you received: 0
Img product dimension not resize correct
- davideventurini
-
Topic Author
- Offline
Less
More
13 years 7 months ago #89784
by davideventurini
Img product dimension not resize correct was created by davideventurini
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
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 or Create an account to join the conversation.
13 years 7 months ago #89830
by Xavier
Replied by Xavier on topic Img product dimension not resize correct
Hi,
Try to add this property:
Try to add this property:
Code:
div#hikashop_product_left_part img.hikashop_main_image{
margin : 2px;
height:80px;
}
Please Log in or Create an account to join the conversation.
- davideventurini
-
Topic Author
- Offline
Less
More
- Posts: 84
- Thank you received: 0
13 years 7 months ago #89833
by davideventurini
Replied by davideventurini on topic Img product dimension not resize correct
Hi, thank you
for this product it works
www.actionstyleclothing.com/it/index.php...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
The different is the quantity of the photo and the charateristic
Thank you
for this product it works
www.actionstyleclothing.com/it/index.php...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
The different is the quantity of the photo and the charateristic
Thank you
Please Log in or Create an account to join the conversation.
13 years 7 months ago #89889
by Xavier
Replied by Xavier on topic Img product dimension not resize correct
Thanks to give us the acces to you website, else we can't see the pages.
Please Log in or Create an account to join the conversation.
- davideventurini
-
Topic Author
- Offline
Less
More
- Posts: 84
- Thank you received: 0
13 years 7 months ago #89915
by davideventurini
Replied by davideventurini on topic Img product dimension not resize correct
Sorry, I forgot...
user action
pass style2012
user action
pass style2012
Please Log in or Create an account to join the conversation.
13 years 7 months ago #89976
by Xavier
Replied by Xavier on topic Img product dimension not resize correct
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 or Create an account to join the conversation.
- davideventurini
-
Topic Author
- Offline
Less
More
- Posts: 84
- Thank you received: 0
13 years 7 months ago #89985
by davideventurini
Replied by davideventurini on topic Img product dimension not resize correct
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.
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 or Create an account to join the conversation.
13 years 7 months ago #90023
by Xavier
Replied by Xavier on topic Img product dimension not resize correct
In the view "product / show_block_img" try to replace the line:
By:
Code:
echo '<img src="' . $this->image->uploadFolder_url . $image->file_path . '" alt="' . $image->file_name . '" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" />';
Code:
echo '<img src="' . $this->image->uploadFolder_url . $image->file_path . '" '.$width.$height.' alt="' . $image->file_name . '" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" />';
Please Log in or Create an account to join the conversation.
- davideventurini
-
Topic Author
- Offline
Less
More
- Posts: 84
- Thank you received: 0
13 years 7 months ago #90090
by davideventurini
Replied by davideventurini on topic Img product dimension not resize correct
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.
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 or Create an account to join the conversation.
13 years 7 months ago #90141
by Xavier
Replied by Xavier on topic Img product dimension not resize correct
All the options are in HikaShop > Config > Main > Images.
You can click on the "help" in the toolbar for more informations.
Which version of HikaShop are you using ?
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
Please Log in or Create an account to join the conversation.
- davideventurini
-
Topic Author
- Offline
Less
More
- Posts: 84
- Thank you received: 0
13 years 7 months ago #90172
by davideventurini
Replied by davideventurini on topic Img product dimension not resize correct
Hi, this was the cause of all the problems of resizing!
I deleted the folder thumbnail and everythings is fix.
Thank you
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 or Create an account to join the conversation.
Time to create page: 0.336 seconds