<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Magento: SQL to Find Missing Images</title>
	<atom:link href="http://prattski.com/2010/06/29/magento-sql-to-find-missing-images/feed/" rel="self" type="application/rss+xml" />
	<link>http://prattski.com/2010/06/29/magento-sql-to-find-missing-images/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 23:20:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Pete</title>
		<link>http://prattski.com/2010/06/29/magento-sql-to-find-missing-images/#comment-10226</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 06 Oct 2011 16:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://prattski.com/?p=442#comment-10226</guid>
		<description>Here is some code to grab missing images without needing raw SQL:

&lt;pre lang=&quot;php&quot;&gt;
$products = Mage::getModel(&#039;catalog/product&#039;)-&gt;getCollection()
    -&gt;addAttributeToSelect(&#039;*&#039;)
    -&gt;addAttributeToFilter(&#039;image&#039;, &#039;no_selection&#039;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Here is some code to grab missing images without needing raw SQL:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$products</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'catalog/product'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getCollection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #339933;">-&gt;</span><span style="color: #004000;">addAttributeToSelect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'*'</span><span style="color: #009900;">&#41;</span>
    <span style="color: #339933;">-&gt;</span><span style="color: #004000;">addAttributeToFilter</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'image'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'no_selection'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://prattski.com/2010/06/29/magento-sql-to-find-missing-images/#comment-9672</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 22 Sep 2011 09:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://prattski.com/?p=442#comment-9672</guid>
		<description>I will hold a little love in my heart for you forever for posting this.

Good job and thank you :-)</description>
		<content:encoded><![CDATA[<p>I will hold a little love in my heart for you forever for posting this.</p>
<p>Good job and thank you <img src='http://prattski.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _bullseye_</title>
		<link>http://prattski.com/2010/06/29/magento-sql-to-find-missing-images/#comment-5207</link>
		<dc:creator>_bullseye_</dc:creator>
		<pubDate>Mon, 07 Feb 2011 15:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://prattski.com/?p=442#comment-5207</guid>
		<description>Brilliant!

I&#039;ve also run this with attribute_id 75(small image), 76(thumbnail), 77(Media Gallery), and 83(Image Gallery).

Thank you so much for the push in the right direction.</description>
		<content:encoded><![CDATA[<p>Brilliant!</p>
<p>I&#8217;ve also run this with attribute_id 75(small image), 76(thumbnail), 77(Media Gallery), and 83(Image Gallery).</p>
<p>Thank you so much for the push in the right direction.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

