Ardi Posted March 23, 2018 Share Posted March 23, 2018 Hello, Here is my problem. Some of the product images that i have uploaded are smaller than the thickbox-default dimensions and i cannot enlarge them. For example thickbox size is 900x900 while some of the images are 689x782. When i click on the product image, the popup image will show the original size of the image and a 900x900 white container/space around it, which is really annoying and is a problem on mobile phones. Here is an example. I thought that maybe, if i added a new smaller thickbox image size value and activated it only for the products, then prestashop wold use that image for the smaller images but that was not the case. Any idea how I could make the container fit the smaller images and remove the extra white space? Thanks. 1 Link to comment Share on other sites More sharing options...
tantan199 Posted March 23, 2018 Share Posted March 23, 2018 You are running on 1.6. So you can customize prestashop for a little bit to show the original size images in thickbox. To make all your images showing at their original size without white borders. Here is a tutorial: How to show original size images with thickbox in prestashop 1.6 Link to comment Share on other sites More sharing options...
Ardi Posted March 23, 2018 Author Share Posted March 23, 2018 Hi Thanks for your answer. I followed the instruction but nothing has changed. Do i need to regenerate my thickbox_default thumbnails? Link to comment Share on other sites More sharing options...
Ardi Posted March 23, 2018 Author Share Posted March 23, 2018 8 hours ago, tantan199 said: You are running on 1.6. So you can customize prestashop for a little bit to show the original size images in thickbox. To make all your images showing at their original size without white borders. Here is a tutorial: How to show original size images with thickbox in prestashop 1.6 Hi Thanks for your answer. I followed the instruction but nothing has changed. Do i need to regenerate my thickbox_default thumbnails? Link to comment Share on other sites More sharing options...
Ardi Posted March 23, 2018 Author Share Posted March 23, 2018 I had changed the wrong line. Now it works fine. I've been searching for weeks for a solution and it was nowhere to be found. Thanks a lot. Link to comment Share on other sites More sharing options...
se.ehsan Posted December 15, 2018 Share Posted December 15, 2018 wht is wrong line? Link to comment Share on other sites More sharing options...
tantan199 Posted December 16, 2018 Share Posted December 16, 2018 That tutorial is correct. Ardi made a mistake when following that tutorial, that's why he/she said "I had changed the wrong line". Link to comment Share on other sites More sharing options...
theodiablo Posted October 15, 2020 Share Posted October 15, 2020 Hi! Does this solution works for PS 1.7 as well? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now