Change the "white space" around an image

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeChange the "white space" around an image

This topic has been marked as not a support question.

How do I change the “White Space” that borders an image in the “Latest Products” and “Featured Products” list?

Thanks!

August 31, 2016 at 10:39 pm #50513

Hi,

Can you provide a screenshot to help us identify the exact change you want to make?

Thanks,
ThemeBurn team

September 5, 2016 at 3:57 pm #50636

Hi there,
I have uploaded a sample. I just added the green background to show you the white around the picture I would like to change if possible.

Thanks
Brad

September 7, 2016 at 6:28 am #50735

Hi Brad,

Unfortunately, this is not a theme issue but rather a system behavior. This is how OpenCart resizes images that does not fit the aspect ratio defined by image settings in Admin > System > Settings > Image. Here is how images are proceeded by default:

1) Original image is resized to fit in the specified dimensions.

2) The space that is left around the image is filled with white.

What you could do is to either change the image sizes to fit the aspect ratio of your images, or use some third party extension that changes the default OC resize logic.

BR,
ThemeBurn team

September 10, 2016 at 10:21 am #50826

Thank-you for your clarification. I will see what I can do… or simply live with it!
Regards
Brad

September 13, 2016 at 4:19 am #50891

Hi,

After a quick search, we’ve an extension that could be useful:

http://www.opencart.com/index.php?route=extension/extension/info&extension_id=26531

Unfortunately, we haven’t tested it and cannot provide any review.

BR,
ThemeBurn team

September 13, 2016 at 11:09 am #50895

Thanks… I checked out the extension and it certainly does what I want…. I asked the developer if it would work with ThemeBurn (Pavilion)… we’ll see what the answer is.

September 21, 2016 at 3:20 am #51183

Will mark the topic as “resolved” for now.

BR,
ThemeBurn team

September 22, 2016 at 5:46 pm #51284
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.