- Posts: 4
- Thank you received: 0
How to handle different sized images
I'm new to HikaShop but getting the hang of it. I am having difficulty with the product page display because of differing image sizes. I have about 5 images per product and they are different sizes - some are horizontal (e.g. 524 x 350) and some are vertical (e.g. 279 x 550). When I hover over the thumbnails on the product page, the entire page jumps around as it resizes the displayed image.
I've searched the forum but can't seem to find the answer.
Any ideas?
Thanks!
Please Log in or Create an account to join the conversation.
That's indeed the first time someone report us the problem. Could you give the URL of your website ?
Please Log in or Create an account to join the conversation.
I have experienced the same problem and would like to see a solution. You can see an example here .
Regards,
Ed
Please Log in or Create an account to join the conversation.
#hikashop_main_image_div{
height: 105px;
}
We'll do something on our end to set the height automatically based on the thumbnails height option in the config in future releases.
Please Log in or Create an account to join the conversation.
That works!
Ed
Please Log in or Create an account to join the conversation.
I spoke a little too soon. Look at this example (product with characteristics). Changing the characteristic (Resolution) causes the display to jump and revert to the default height for images.
Regards,
Ed
Please Log in or Create an account to join the conversation.
hikashop_main_image_div_11 and hikashop_main_image_div_10 in your case.
Please Log in or Create an account to join the conversation.
Ed
Please Log in or Create an account to join the conversation.
?><br/><?php
That should solve the problem.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
@John - Sorry to hijack your thread, but one thing seemed to lead to another. Glad to hear your problem was resolved.
Ed
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
And I didn't see the problem you're reporting.
Please Log in or Create an account to join the conversation.
While there, could you put something in the cart and go through checkout. It seems that most of the time, you have to hit Next twice at the Address and Shipping steps before moving on.
Thanks,
Ed
Please Log in or Create an account to join the conversation.
Once you are logged in this page should display the problem (same as screen shot above). Also note how the row of thumbnail images jumps up when the Resolution option is changed.
Hoping to get this shop live soon and add it to your showcase thread! Still need to do some work on email messages though.
Thanks,
Ed
Please Log in or Create an account to join the conversation.
Deleting the thumbnails folder so that HikaShop can recreate the thumbnails based on the new height setting should solve the problem.
Please Log in or Create an account to join the conversation.
Checking the thumbnail folder, the only thing there are some logo images that were inserted through the Hikashop product interface. All these images in question were uploaded via FTP. Where do I find the thumbnails for those?
Thanks,
Ed
Please Log in or Create an account to join the conversation.
Ed
Please Log in or Create an account to join the conversation.
Looking at your configuration, the upload folder is the default one:
media/com_hikashop/upload/
So, your images must be there, and the thumbnails for those images must be in the folder media/com_hikashop/upload/thumbnails.
Please Log in or Create an account to join the conversation.
Ed
Please Log in or Create an account to join the conversation.