Problem with thumbnails in product page
7 years 7 months ago #303442
by Urbinati
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
Problem with thumbnails in product page was created by Urbinati
-- url of the page with the problem -- :
www.dreamlordpress.it/acquista/negozio/p...accelerata-libro-pdf
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2.14
-- Browser(s) name and version -- : Chrome, Firefox, Edge
-- Error-message(debug-mod must be tuned on) -- : No error massage
Hi,
I put 300x250 for image, 125x100 for thumbnails in Hikashop-Configuration-Main-Photo, but ther thumbnails aren't properly shown.
Is there a way to properly check if they're properly created or not, and why?
Thank you.
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2.14
-- Browser(s) name and version -- : Chrome, Firefox, Edge
-- Error-message(debug-mod must be tuned on) -- : No error massage
Hi,
I put 300x250 for image, 125x100 for thumbnails in Hikashop-Configuration-Main-Photo, but ther thumbnails aren't properly shown.
Is there a way to properly check if they're properly created or not, and why?
Thank you.
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
Please Log in or Create an account to join the conversation.
7 years 7 months ago #303445
by nicolas
Replied by nicolas on topic Problem with thumbnails in product page
Hi,
This is something in your template / website which forces the size of the thumbnails to be full size by adding a "style" attribute directly to the img tags. Because of that, it overrides the CSS by default in HikaShop to set the size of the thumbnails :
monosnap.com/file/JIv8WlkT1te6CyJo1J3s0UCLSAkgzn
So you can add such CSS to force the size of the thumbnails and that might help:
img.hikashop_child_image {
height: 100px !important;
}
If that doesn't work, then you'll have to check with the default joomla template selected instead of your template to see if it comes from your template or not, etc to find which extension does that. And once you find it, contact the support of that extension to check with them what does that and what can be done.
This is something in your template / website which forces the size of the thumbnails to be full size by adding a "style" attribute directly to the img tags. Because of that, it overrides the CSS by default in HikaShop to set the size of the thumbnails :
monosnap.com/file/JIv8WlkT1te6CyJo1J3s0UCLSAkgzn
So you can add such CSS to force the size of the thumbnails and that might help:
img.hikashop_child_image {
height: 100px !important;
}
If that doesn't work, then you'll have to check with the default joomla template selected instead of your template to see if it comes from your template or not, etc to find which extension does that. And once you find it, contact the support of that extension to check with them what does that and what can be done.
Please Log in or Create an account to join the conversation.
7 years 7 months ago #303488
by Urbinati
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
Replied by Urbinati on topic Problem with thumbnails in product page
Hi nicolas,
I excluded "hikashop_child_image" from jch_optimize lazy load image option, and everything got to work again.
Thank you very much for putting me on the right path.
I excluded "hikashop_child_image" from jch_optimize lazy load image option, and everything got to work again.
Thank you very much for putting me on the right path.
Dreamlord Press
www.dreamlordpress.it
Roleplaying Games in the new era
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds