marblemsn Posted October 29, 2011 Share Posted October 29, 2011 Hello, I have white rectangles that rae above and below my photos on the products pages. For example you can see the white rectangles on www.rajastones.co.uk/planters. How do I get rid of them? Any help would be appreciated. Thank you K Link to comment Share on other sites More sharing options...
Wingz Posted October 29, 2011 Share Posted October 29, 2011 (edited) As I understand it, Prestashop demands square photos - 600x600px as default - if you're moving from another cart, it seems to require a whole new slew of photos (on our current ZenCart ours are 560x400) so we have the same problem. Moving cart platform means a new photo shoot. PS: I noticed during recent research, that Magento requires the same thing, in all of the themes/templates I considered. So I'm guessing that with the more modern approach to carts, it's pretty much a standard approach? Edited October 31, 2011 by Wingz (see edit history) Link to comment Share on other sites More sharing options...
phrasespot Posted October 31, 2011 Share Posted October 31, 2011 As I understand it, Prestashop demands square photos - 600x600px as default By default dimensions are in a 1:1 ratio but 'demands' is not quite correct. You could change the image sizes to be in any width/height ratio in back office image preferences. If you specify dimensions, say in a 3:2 ratio then images you upload will be fitted into that ratio. 1 Link to comment Share on other sites More sharing options...
tomerg3 Posted October 31, 2011 Share Posted October 31, 2011 You could change the white to a different color (to match your theme) if you need. That is defined in /images.inc.php Link to comment Share on other sites More sharing options...
marblemsn Posted November 2, 2011 Author Share Posted November 2, 2011 Hello, How would I change the colour of the rectangles, via the file /image/inc/php? Better still, can the white boxes be made transparent, I wouldn't have to worry about the colours then. Any other suggestions would be appreciated. Thanks K www.rajastones.co.uk Link to comment Share on other sites More sharing options...
tomerg3 Posted November 2, 2011 Share Posted November 2, 2011 I have not tried to make it transparent before, you would have to use PNG for that. To change the color, you need to change the following code in a few places in images.inc.php imagecolorallocate($newImage, 255, 255, 255); // newImage can be a different variable as well, so search for 255 in the file You will need to change 255 , 255, 255 to the color code that you which to use (Red, Green, Blue code) Link to comment Share on other sites More sharing options...
Rajastones Posted February 25, 2012 Share Posted February 25, 2012 Hi, does anyone know how to make the white rectangles transparent. What is PNG? All the photos on my site are in different colours. Any help would be appreciated. Raja I have not tried to make it transparent before, you would have to use PNG for that. To change the color, you need to change the following code in a few places in images.inc.php imagecolorallocate($newImage, 255, 255, 255); // newImage can be a different variable as well, so search for 255 in the file You will need to change 255 , 255, 255 to the color code that you which to use (Red, Green, Blue code) 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