Remove product image background

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
9 years 1 hour ago #250151

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.5

Hello,

how can i remove the white background from the product page image?

Thank you

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #250156

Hi,

I don't see any white background on that page for that image:
take.ms/M4pOV
So I'm not sure what you're talking about.

Please Log in or Create an account to join the conversation.

  • Posts: 1115
  • Thank you received: 12
  • Hikashop Business
8 years 11 months ago #250533

Yes i removed the product image via css.

Well, all product images have a white background so i would like to know how to remove it completely?
I m sending you another example. In all my websites that i use hikashop there is a white background.

Thank you

Attachments:
Last edit: 8 years 11 months ago by verzevoul.

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #250542

Hi,

That's because of three things:
- you've turned on the "force size" setting of the HikaShop configuration so that your thumbnails all have the same dimensions.
- you've uploaded images with different height/width ratio than the thumbnails size you configured in HikaShop
- you've set the "Image scale mode " setting to "keep ratio"
Because of all that, the thumbnails generated have to have that white background.
To avoid that, either use images with the same ratio as you want for your thumbnails, or turn off the "force size" setting so that the size of the thumbnails can be different, or change the image scale mode to "crop" so that the system fits the image to the size of the thumbnails by cropping the pieces to fit the ratio instead of adding white stripes.

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum