Jump to content

Images, Thumbnails Backgrounds


Recommended Posts

Hi, Bit a newb question this

When I submit a image, I know that it auto generates thumnails of various sizes. But It is just adding white space, to these images. My background is Black, and it makes it looks a bit crap.

Im looking for a way to change it so that the whitespace, becomes blackspace in the images.

Link to comment
Share on other sites

  • 7 months later...

Do a search for "$white =" in images.inc.php and change all the 255, 255, 255 values to the RGB of the background colour you want. For example, changing the values to 0, 0, 0 will make all new images have a black background instead of a white background. Remember to go to Preferences > Images and click "Regenerate thumbnails" so that your existing images are changed to a black background.

Link to comment
Share on other sites

Is there anyway to turn off the "add background color to images"? Because if I do it the way you suggested, then when the images are viewed fullscreen (or thickbox) they'll have a gray background. Also, I don't want my images to be re sized at all. How come the "Maximum" size settings aren't treated like "Maximum" and are treated like "Make all images this size".

I'm surprised that this is how the images are treated. Why would anyone want this done to their images?

Thanks for your help.

Link to comment
Share on other sites

That's the way Prestashop was designed. I personally think it is neater and more professional to have all images the same size than to have different-sized full-sized images pop up. The only way you can avoid the background colour is make all your images the same size and enter the exact size of the images under Preferences > Images. This is what I did for the Munum site.

Link to comment
Share on other sites

  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...