Jump to content

Getting rid of the generated white border/background in images


DanneV
 Share

Recommended Posts

I'm adding product images that are exactly square. For some strange reason, Prestashop generates this ugly, huge white border/background. See attached images. How can I make Prestashop show my images as is and not creating these awful ones?

See attached. The top one is the original image. Next is how it looks in Prestahop.

Cheers,
Dani

 

original.jpg.f8ef71e9eaa3a762611635c894542f65.jpgprestashop-generated-image.jpg.b01ad324b75a6448b97eedac62b427df.jpg

Share this post


Link to post
Share on other sites

The white border typically is added when the source image is too small. For example when you provided a 300x300 image and you have set 600x600 for the large image then large will show with 150 margins at each side.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More