Jump to content
thirty bees forum

background colour round mis-fit images - alterable from white


Recommended Posts

classes > imagemanager.php 
Some way to change background colour from white to the background color or any other - either instructions somewhere or a color picker in the back office.

Same for any over-ride from a Thirtybees module, such as mdekker's imagemagik; I'm not sure if it works

Link to comment
Share on other sites

I fear a white background is pretty much hardcoded.

That said, back in the times when tb didn't even exist, yet, I tweaked PS (1.6.something) to allow non-square images, which eliminated added background entirely. Images simply keep their aspect ratio:

1518951058_Productimagesofvariousaspects.png.0cb87e235a1db716e42cd66c0cf53881.png

It was a full implementation, including theme and image manager support. However, I fear I lost this code. I uploaded it to forge.prestashop.com, but this entire tracker was closed, all issues were removed. And I can't find a local copy any longer. *sigh*

Nevertheless I wrote this posting here to give a hint on a possible solution for your challenge.

Link to comment
Share on other sites

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...