<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Magento: Change image background color</title>
	<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl</link>
	<description>bunch of code in one place</description>
	<pubDate>Fri, 30 Jul 2010 18:51:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: admin</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-4784</link>
		<author>admin</author>
		<pubDate>Sun, 30 Nov 2008 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-4784</guid>
		<description>Andy this class is set in /skin/frontend/default/default/css/screen.css or in you custom theme if you are usin one.</description>
		<content:encoded><![CDATA[<p>Andy this class is set in /skin/frontend/default/default/css/screen.css or in you custom theme if you are usin one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Textbooks</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-4752</link>
		<author>Andy Textbooks</author>
		<pubDate>Thu, 30 Nov 2006 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-4752</guid>
		<description>Thanks admin, but where are 
‘.product-img-box .more-views li a’

Whick line for ‘background:#FFF;’?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks admin, but where are<br />
‘.product-img-box .more-views li a’</p>
<p>Whick line for ‘background:#FFF;’?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2424</link>
		<author>admin</author>
		<pubDate>Sat, 30 Nov 2002 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2424</guid>
		<description>Andy try to put 'background:#FFF;' in your '.product-img-box .more-views li a' class. Maybe this could work for you...</description>
		<content:encoded><![CDATA[<p>Andy try to put &#8216;background:#FFF;&#8217; in your &#8216;.product-img-box .more-views li a&#8217; class. Maybe this could work for you&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2409</link>
		<author>Andy</author>
		<pubDate>Fri, 30 Nov 2001 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2409</guid>
		<description>Anyone have idea why there are different if my &lt;a href="http://www.cocomartini.com" rel="nofollow"&gt;online bookstore&lt;/a&gt; hosted in redhat and debian?

CocoMartini.com &lt;a href="http://www.cocomartini.com" rel="nofollow"&gt;College textbooks&lt;/a&gt; Online bookstore
http://www.cocomartini.com</description>
		<content:encoded><![CDATA[<p>Anyone have idea why there are different if my <a href="http://www.cocomartini.com" rel="nofollow">online bookstore</a> hosted in redhat and debian?</p>
<p>CocoMartini.com <a href="http://www.cocomartini.com" rel="nofollow">College textbooks</a> Online bookstore<br />
<a href="http://www.cocomartini.com" rel="nofollow">http://www.cocomartini.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murat</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2368</link>
		<author>Murat</author>
		<pubDate>Tue, 30 Nov 2027 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2368</guid>
		<description>How is it possible to use this for multiple shops in Magento?</description>
		<content:encoded><![CDATA[<p>How is it possible to use this for multiple shops in Magento?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2354</link>
		<author>Andy</author>
		<pubDate>Sun, 30 Nov 2025 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2354</guid>
		<description>Although I know the reason. But there are no way to solve the image background problems for my &lt;a href="http://www.cocomartini..com" rel="nofollow"&gt;college textbooks&lt;/a&gt; &lt;a href="http://www.cocomartini..com" rel="nofollow"&gt;online bookstore&lt;/a&gt;.

CocoMartini.com College textbooks Online bookstore
http://www.cocomartini.com</description>
		<content:encoded><![CDATA[<p>Although I know the reason. But there are no way to solve the image background problems for my <a href="http://www.cocomartini..com" rel="nofollow">college textbooks</a> <a href="http://www.cocomartini..com" rel="nofollow">online bookstore</a>.</p>
<p>CocoMartini.com College textbooks Online bookstore<br />
<a href="http://www.cocomartini.com" rel="nofollow">http://www.cocomartini.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2289</link>
		<author>Andy</author>
		<pubDate>Tue, 30 Nov 2021 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2289</guid>
		<description>Finally I know my online boosktore problems. The webhost company say they change the server os from redhat to Debian. and no way to solve my case.

CocoMartini.com College textbooks Online bookstore
http://www.cocomartini.com</description>
		<content:encoded><![CDATA[<p>Finally I know my online boosktore problems. The webhost company say they change the server os from redhat to Debian. and no way to solve my case.</p>
<p>CocoMartini.com College textbooks Online bookstore<br />
<a href="http://www.cocomartini.com" rel="nofollow">http://www.cocomartini.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2137</link>
		<author>Andy</author>
		<pubDate>Tue, 30 Nov 2010 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2137</guid>
		<description>Hi,
Thanks for your reply. I double check the file and it default value is already

protected $_backgroundColor  = array(255, 255, 255);

below is part of the file and you see that I never change the value and all are default setting. Any idea? Thanks in advance.

regards,

Andy

*************

class Mage_Catalog_Model_Product_Image extends Mage_Core_Model_Abstract
{
    protected $_width;
    protected $_height;

    protected $_keepAspectRatio  = true;
    protected $_keepFrame        = true;
    protected $_keepTransparency = true;
    protected $_constrainOnly    = false;
    protected $_backgroundColor  = array(255, 255, 255);

    protected $_baseFile;
    protected $_newFile;
    protected $_processor;
    protected $_destinationSubdir;
    protected $_angle;
    protected $_watermarkPosition;
    protected $_watermarkWidth;
    protected $_watermarkHeigth;
****************</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your reply. I double check the file and it default value is already</p>
<p>protected $_backgroundColor  = array(255, 255, 255);</p>
<p>below is part of the file and you see that I never change the value and all are default setting. Any idea? Thanks in advance.</p>
<p>regards,</p>
<p>Andy</p>
<p>*************</p>
<p>class Mage_Catalog_Model_Product_Image extends Mage_Core_Model_Abstract<br />
{<br />
    protected $_width;<br />
    protected $_height;</p>
<p>    protected $_keepAspectRatio  = true;<br />
    protected $_keepFrame        = true;<br />
    protected $_keepTransparency = true;<br />
    protected $_constrainOnly    = false;<br />
    protected $_backgroundColor  = array(255, 255, 255);</p>
<p>    protected $_baseFile;<br />
    protected $_newFile;<br />
    protected $_processor;<br />
    protected $_destinationSubdir;<br />
    protected $_angle;<br />
    protected $_watermarkPosition;<br />
    protected $_watermarkWidth;<br />
    protected $_watermarkHeigth;<br />
****************</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2100</link>
		<author>admin</author>
		<pubDate>Thu, 30 Nov 2006 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-2100</guid>
		<description>Hi Andy
check the same file and set the array to array(255, 255, 255) witch should give you white background on images.</description>
		<content:encoded><![CDATA[<p>Hi Andy<br />
check the same file and set the array to array(255, 255, 255) witch should give you white background on images.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-1908</link>
		<author>Andy</author>
		<pubDate>Tue, 30 Nov 2027 00:00:00 +0000</pubDate>
		<guid>http://www.inacode.com/magento/magento-change-image-background-color/langswitch_lang/sl#comment-1908</guid>
		<description>Hi,
Thanks for your information. 

My website is built from Magento V1.1.8. Originally, all product image background color was white. However, on some day, all the color sudden change to BLACK. I never modify any files, no touch image.php.

So, I really don't know why it suddenly change to black color. Can u give me some help? My website is

http://www.CocoMartini.com


Many thanks.

Regards,

Andy
all background colours</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your information. </p>
<p>My website is built from Magento V1.1.8. Originally, all product image background color was white. However, on some day, all the color sudden change to BLACK. I never modify any files, no touch image.php.</p>
<p>So, I really don&#8217;t know why it suddenly change to black color. Can u give me some help? My website is</p>
<p><a href="http://www.CocoMartini.com" rel="nofollow">http://www.CocoMartini.com</a></p>
<p>Many thanks.</p>
<p>Regards,</p>
<p>Andy<br />
all background colours</p>
]]></content:encoded>
	</item>
</channel>
</rss>
