How can i change background color of product image

by Peter D.

It isn't good idea to edit core files, but the easiest way to do that is to edit /app/code/core/Mage/Catalog/Model/Product/Image.php and edit the color code at the line 44

 protected $_backgroundColor  = array(255, 255, 255);

And replace the white color code to black as follows:

 protected $_backgroundColor  = array(0, 0, 0);

Recent articles

Get Discount!

Get your personal discount !

Like us on Facebook, post a Tweet or rate us at Google Plus to get instant 10% OFF on any purchase from our store.

Please make your choice
Discount Coupon Code

Back to top