Img product dimension not resize correct

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #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_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.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #89830

Hi,

Try to add this property:

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

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #89833

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

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #89889

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.

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #89915

Sorry, I forgot...
user action
pass style2012

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #89976

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.

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #89985

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 or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #90023

In the view "product / show_block_img" try to replace the line:

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" />';
By:
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.

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #90090

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 or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #90141

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 ?

The following user(s) said Thank You: davideventurini

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
11 years 9 months ago #90172

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

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.080 seconds
Powered by Kunena Forum