News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

product image background color

Started by maulik 1intl, February 13, 2019, 12:24:12 AM

Previous topic - Next topic

maulik 1intl

Hi  :)

               I have an other question...
               i'm change body background-color but now it's good see but problem is product image is background white color how to change
               the product background color in product image..????
               simple how to change product background color white to change.?????
               Remove thumbnails img background color white. ????


        Thank You

Basara


maulik 1intl

Thanks but this can't solve my question but how to remove(white) background colour in thumbnails background.also attach image of it

jimcooncat

If the white background is part of the image itself, you can remove it with the free Background Burner at Bonanza. Upload it at burner dot bonanza dot com, use the tools to remove the background, and save it in the .png format. I find it simple to use for most product photos.

maulik 1intl

Thanks for replay

               But my image is not background colour in my computer when i'm upload image in abantecart it auto get background white ??????????????????????????.I'm attach two images .Two show before upload and after upload image show both left and right or up or down site get white background color.


Thanks

llegrand

try this  -  think of the "frame" on the product page  like a real picture frame you hang on the wall.  It has a defined sized -  the default frame on the product page is defined as 500 x 500 px.  If your product image is smaller than that  you will see the "background" color of the frame.   Back to the frame on the wall -  if the actual picture you place in the frame is smaller,  then you see the "frame" background or matting. 


If you make your image at least 500 x 500 or larger  you issue should be solved.  The system will accommodate resizing images down correctly for the defined frame,  but doesn't alter the if they are smaller.   For instance on the demo pics lots of them are 1500 x 1500 in the media manager  but they are resized to show properly in the frame.  And when you hover or a larger base image  the zoom enhances to a larger size.




Basara

Hello.
You can also change the default white color to any in image resize function
http://forum.abantecart.com/index.php/topic,6204.msg26511.html#msg26511
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/lib/image.php#L265

default value 255, 255, 255 is RGB representation for white color

maulik 1intl

 it's very use full me thank you so much for replay  :) :) :) :) :) :)

maulik 1intl

Hi
                Thanks for replay is working fine but problem is that my all images are more than 1000 width and 1000 height than why it's get frame.i don't need frame in any image there is way to remove the frame.how to auto set image size remove.
              Please help it looking bad in mobile view image and also when zoom in it's looking to bad. :) :) :) :) :)


thanks

Paul Birkelandgreen

No I can't solve it either. It isn't in style.css or image.php. can't find it in bootstrap.css or onebyone.css   It is a major problem having to always create square black images rather than a background fill that can't be changed from white.

Basara

Quote from: Paul Birkelandgreen on February 05, 2021, 07:37:25 AM
No I can't solve it either. It isn't in style.css or image.php. can't find it in bootstrap.css or onebyone.css   It is a major problem having to always create square black images rather than a background fill that can't be changed from white.
Hello.
Upgrade to the latest AbanteCart version, image background color setting is added to the Appearance settings page.

Forum Rules Code of conduct
AbanteCart.com 2010 -