<?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: Random Image Block</title>
	<atom:link href="http://mattrude.com/projects/random-image-block/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattrude.com</link>
	<description>Matt Rude’s Personal Website</description>
	<lastBuildDate>Fri, 20 Jan 2012 14:06:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19896</generator>
	<item>
		<title>By: LuCaSh</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-2315</link>
		<dc:creator>LuCaSh</dc:creator>
		<pubDate>Sun, 15 Jan 2012 15:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-2315</guid>
		<description>It&#039;s useful code :-) but it&#039;s not what I want. I would like count images of category which is selected in widget.</description>
		<content:encoded><![CDATA[<p>It&#8217;s useful code <img src='http://mattrude.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  but it&#8217;s not what I want. I would like count images of category which is selected in widget.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-2299</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Fri, 13 Jan 2012 03:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-2299</guid>
		<description>The count you see on this site is a function of the theme, not this plugin.  But it&#039;s not to much to add to your theme if you would like to.

The &lt;a href=&quot;https://github.com/mattrude/wp-theme-milly/blob/master/functions/gallery-index.php#L27-32&quot; rel=&quot;nofollow&quot;&gt;code im using&lt;/a&gt; is part of the gallery index, but you may put it anywhere within the post loop.

[sourcecode lang=&quot;php&quot;]
        &lt;?php $num_gallery_posts = $wpdb-&gt;get_var( &quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_parent = &#039;$post-&gt;ID&#039; AND post_type = &#039;attachment&#039;&quot; );
        if ( $num_gallery_posts &gt; 1 ) {
          ?&gt;&lt;div id=&quot;gallerypost_sub_right-&lt;?php the_ID(); ?&gt;&quot; class=&quot;gallerypost_sub_right&quot;&gt;
            &lt;small&gt;This Album contains &lt;?php echo $num_gallery_posts; ?&gt; items.&lt;/small&gt;
          &lt;/div&gt;
        &lt;?php } ?&gt;
[/sourcecode]</description>
		<content:encoded><![CDATA[<p>The count you see on this site is a function of the theme, not this plugin.  But it&#8217;s not to much to add to your theme if you would like to.</p>
<p>The <a href="https://github.com/mattrude/wp-theme-milly/blob/master/functions/gallery-index.php#L27-32" rel="nofollow">code im using</a> is part of the gallery index, but you may put it anywhere within the post loop.</p>
<pre class="brush: php; title: ; notranslate">
        &lt;?php $num_gallery_posts = $wpdb-&gt;get_var( &quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_parent = '$post-&gt;ID' AND post_type = 'attachment'&quot; );
        if ( $num_gallery_posts &gt; 1 ) {
          ?&gt;&lt;div id=&quot;gallerypost_sub_right-&lt;?php the_ID(); ?&gt;&quot; class=&quot;gallerypost_sub_right&quot;&gt;
            &lt;small&gt;This Album contains &lt;?php echo $num_gallery_posts; ?&gt; items.&lt;/small&gt;
          &lt;/div&gt;
        &lt;?php } ?&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: LuCaSh</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-2296</link>
		<dc:creator>LuCaSh</dc:creator>
		<pubDate>Fri, 13 Jan 2012 01:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-2296</guid>
		<description>Hi, thanks for this plugin.
How to show total number of images from category? In var $noimages contains only total number of all images in media library ... :(</description>
		<content:encoded><![CDATA[<p>Hi, thanks for this plugin.<br />
How to show total number of images from category? In var $noimages contains only total number of all images in media library &#8230; <img src='http://mattrude.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-2081</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 17 Dec 2011 17:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-2081</guid>
		<description>This is an awesome plugin and very helpful.  I have a real estate and use this plugin to display different agents on property pages.  I would also like to add a contact me button under the random picture or next to it.  Can you give me some pointers on where to insert it or any ideas?  Thanks</description>
		<content:encoded><![CDATA[<p>This is an awesome plugin and very helpful.  I have a real estate and use this plugin to display different agents on property pages.  I would also like to add a contact me button under the random picture or next to it.  Can you give me some pointers on where to insert it or any ideas?  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-267</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 15 Jul 2011 16:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-267</guid>
		<description>Thanks so much for this great plugin! I had been using Gallery2 and its related plugin but I am moving my site towards embedding images into the posts. Not having a related random image generator was a sore disappointment until I found the Random Image Block. Thanks!!</description>
		<content:encoded><![CDATA[<p>Thanks so much for this great plugin! I had been using Gallery2 and its related plugin but I am moving my site towards embedding images into the posts. Not having a related random image generator was a sore disappointment until I found the Random Image Block. Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-266</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 05 Jun 2011 18:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-266</guid>
		<description>Blogs are all use WYSIWYG editors, checkout &lt;a href=&quot;http://wordpress.com&quot; rel=&quot;nofollow&quot;&gt;http://wordpress.com&lt;/a&gt; or &lt;a href=&quot;http://wordpress.org&quot; rel=&quot;nofollow&quot;&gt;http://wordpress.org&lt;/a&gt; for more information.</description>
		<content:encoded><![CDATA[<p>Blogs are all use WYSIWYG editors, checkout <a href="http://wordpress.com" rel="nofollow">http://wordpress.com</a> or <a href="http://wordpress.org" rel="nofollow">http://wordpress.org</a> for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Dziduch</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-265</link>
		<dc:creator>Jasper Dziduch</dc:creator>
		<pubDate>Sun, 22 May 2011 01:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-265</guid>
		<description>Hello this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I&#039;m starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>Hello this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I&#8217;m starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Kasbergen</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-264</link>
		<dc:creator>Peter Kasbergen</dc:creator>
		<pubDate>Thu, 24 Mar 2011 21:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-264</guid>
		<description>Oh no! Sorry about that last comment. I figured out what was going wrong. Thanks for the GREAT plugin!

Peter</description>
		<content:encoded><![CDATA[<p>Oh no! Sorry about that last comment. I figured out what was going wrong. Thanks for the GREAT plugin!</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Kasbergen</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-263</link>
		<dc:creator>Peter Kasbergen</dc:creator>
		<pubDate>Thu, 24 Mar 2011 21:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-263</guid>
		<description>Hi Matt,

Thanks for a nice plugin. However, I am experiencing some troubles with it. On static pages, it displays the same photo every time the page is loaded. On blog pages, however, it works fine.

Am I doing something wrong?

Thanks in advance for any help!
Peter</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for a nice plugin. However, I am experiencing some troubles with it. On static pages, it displays the same photo every time the page is loaded. On blog pages, however, it works fine.</p>
<p>Am I doing something wrong?</p>
<p>Thanks in advance for any help!<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: notafish</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-262</link>
		<dc:creator>notafish</dc:creator>
		<pubDate>Mon, 17 Jan 2011 14:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-262</guid>
		<description>Hi Matt,

I&#039;ve made three little corrections to the plugin which allow it to pass the W3C validator service, I thought I&#039;d give them to you to see if you wanted to integrate them in a new version, basically changing &#039; into &quot; and making sure those were recognized as text in output by adding anti-slash in the appropriate places in //construct the image
[code]
          // construct the image
          echo &quot;{$before_widget}{$before_title}$riw_widget_title{$after_title}&quot;;
          echo &quot;&quot;;
            if ( $riw_display_title == &quot;on&quot; ) { echo &quot;&lt;strong&gt;$attachment-&gt;post_title&lt;/strong&gt;&quot;; }
            echo &quot;&quot;;
            echo &quot;&lt;a href=&quot;.get_permalink( $riw_image_link ).&quot; rel=&quot;nofollow&quot;&gt;&quot;;
&lt;/a&gt;
[/code] </description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I&#8217;ve made three little corrections to the plugin which allow it to pass the W3C validator service, I thought I&#8217;d give them to you to see if you wanted to integrate them in a new version, basically changing &#8216; into &#8221; and making sure those were recognized as text in output by adding anti-slash in the appropriate places in //construct the image</p>
<pre class="brush: plain; title: ; notranslate">
          // construct the image
          echo &quot;{$before_widget}{$before_title}$riw_widget_title{$after_title}&quot;;
          echo &quot;&quot;;
            if ( $riw_display_title == &quot;on&quot; ) { echo &quot;&lt;strong&gt;$attachment-&amp;gt;post_title&lt;/strong&gt;&quot;; }
            echo &quot;&quot;;
            echo &quot;&lt;a href=&quot;.get_permalink( $riw_image_link ).&quot; rel=&quot;nofollow&quot;&gt;&quot;;
&lt;/a&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justus</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-261</link>
		<dc:creator>Justus</dc:creator>
		<pubDate>Thu, 06 Jan 2011 03:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-261</guid>
		<description>Hey Matt, 
The plugin sound like exactly what I&#039;m looking for. I&#039;m running into a problem installing through. 
        Installing through the search for plugin feature hangs on installing plugin, although I suspect thats due to the immensely flacky ftp server I&#039;m developing the page on. 
         However, after I install manually and activate the plugin in the admin/plugin pannel.....well, it&#039;s after this that I hit a snag. I open up the widget pannel to drag random image block to my sidepannel, but instead of it dragging, it outputs a question within the widget dialog (not the sidebar dialog). There&#039;s no form or boxes, it just fills the screen with text where there shouldnt be text. Any idea if I can fix this somehow? 

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hey Matt,<br />
The plugin sound like exactly what I&#8217;m looking for. I&#8217;m running into a problem installing through.<br />
        Installing through the search for plugin feature hangs on installing plugin, although I suspect thats due to the immensely flacky ftp server I&#8217;m developing the page on.<br />
         However, after I install manually and activate the plugin in the admin/plugin pannel&#8230;..well, it&#8217;s after this that I hit a snag. I open up the widget pannel to drag random image block to my sidepannel, but instead of it dragging, it outputs a question within the widget dialog (not the sidebar dialog). There&#8217;s no form or boxes, it just fills the screen with text where there shouldnt be text. Any idea if I can fix this somehow? </p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-260</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Sat, 25 Dec 2010 05:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-260</guid>
		<description>Please tell me what plugin to load images from other website/domain ?

This plugin works well :)</description>
		<content:encoded><![CDATA[<p>Please tell me what plugin to load images from other website/domain ?</p>
<p>This plugin works well <img src='http://mattrude.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Chisholm</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-259</link>
		<dc:creator>Alistair Chisholm</dc:creator>
		<pubDate>Thu, 18 Nov 2010 19:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-259</guid>
		<description>I am sometimes get duplicates too. Would there be an easy way to stop the same photo coming up in two places at once?
I have used another plugin for the large image on the left. It works similarly but displays a random image from the uploads folder. These are all different sizes and some are getting stretched which looks bad. I would rather generate a cropped image like your plugin does. Can you offer me any advice on this.

So grateful for the plugin, thanks again. Alistair</description>
		<content:encoded><![CDATA[<p>I am sometimes get duplicates too. Would there be an easy way to stop the same photo coming up in two places at once?<br />
I have used another plugin for the large image on the left. It works similarly but displays a random image from the uploads folder. These are all different sizes and some are getting stretched which looks bad. I would rather generate a cropped image like your plugin does. Can you offer me any advice on this.</p>
<p>So grateful for the plugin, thanks again. Alistair</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Chisholm</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-258</link>
		<dc:creator>Alistair Chisholm</dc:creator>
		<pubDate>Mon, 15 Nov 2010 12:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-258</guid>
		<description>Hi Matt, thank you heaps for creating this. It&#039;s brilliant. I&#039;ve used it here...

http://63.246.154.32/~highland/

The 3x3 grid is actually my sidebar with 9 widgets placed in there!

I&#039;d like to use it again on the large image to the left. Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi Matt, thank you heaps for creating this. It&#8217;s brilliant. I&#8217;ve used it here&#8230;</p>
<p><a href="http://63.246.154.32/~highland/" rel="nofollow">http://63.246.154.32/~highland/</a></p>
<p>The 3&#215;3 grid is actually my sidebar with 9 widgets placed in there!</p>
<p>I&#8217;d like to use it again on the large image to the left. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-257</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 07 Nov 2010 16:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-257</guid>
		<description>You don&#039;t need to select a category to display a random image, but you will need them attached to a post apposed to a page.

Can you make a place holder post to store your images on?</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to select a category to display a random image, but you will need them attached to a post apposed to a page.</p>
<p>Can you make a place holder post to store your images on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ovidiu</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-256</link>
		<dc:creator>ovidiu</dc:creator>
		<pubDate>Sun, 07 Nov 2010 14:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-256</guid>
		<description>just wondering why I need to select a category... most of my images from my media library are attached to pages not posts and thus are not within any category :-(

I simply want to show a random picture from my media library. is that possible somehow?</description>
		<content:encoded><![CDATA[<p>just wondering why I need to select a category&#8230; most of my images from my media library are attached to pages not posts and thus are not within any category <img src='http://mattrude.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>I simply want to show a random picture from my media library. is that possible somehow?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-255</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 03 Oct 2010 17:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-255</guid>
		<description>My only guess on this would be that your thumbnails are missing or set to full size.  What happens if you run the “&lt;a href=&quot;http://wordpress.org/extend/plugins/regenerate-thumbnails/&quot; rel=&quot;nofollow&quot;&gt;Regenerate Thumbnails&lt;/a&gt;” plugin by &lt;a href=&quot;http://www.viper007bond.com/&quot; rel=&quot;nofollow&quot;&gt;Viper007Bond&lt;/a&gt;? This should rebuild all your thumbnails to the same size.</description>
		<content:encoded><![CDATA[<p>My only guess on this would be that your thumbnails are missing or set to full size.  What happens if you run the “<a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/" rel="nofollow">Regenerate Thumbnails</a>” plugin by <a href="http://www.viper007bond.com/" rel="nofollow">Viper007Bond</a>? This should rebuild all your thumbnails to the same size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-254</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 03 Oct 2010 17:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-254</guid>
		<description>Sorry about that, yes it looks like the default options in version 0.9 are always stuck on as it was correcting null values incorrectly. :) 

This has been resolved in version 0.9.1

Thanks for finding this bug.
-Matt</description>
		<content:encoded><![CDATA[<p>Sorry about that, yes it looks like the default options in version 0.9 are always stuck on as it was correcting null values incorrectly. <img src='http://mattrude.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>This has been resolved in version 0.9.1</p>
<p>Thanks for finding this bug.<br />
-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-253</link>
		<dc:creator>max</dc:creator>
		<pubDate>Wed, 29 Sep 2010 09:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-253</guid>
		<description>Hi Matt,

Thanks for the great plugin. I think there is a bug; in advanced option the &quot;save&quot; button doesn&#039;t save my preferences I checked...
Any idea?</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for the great plugin. I think there is a bug; in advanced option the &#8220;save&#8221; button doesn&#8217;t save my preferences I checked&#8230;<br />
Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-252</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Sat, 25 Sep 2010 05:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-252</guid>
		<description>Very nice plug-in which works out of the box though with one problem. On my site it displays ALL images rather then just the thumbnails. On some pages it shows the full sized image which of course then expands into the rest of the page. Any idea how to fix this? Otherwise its a perfect plug-in that would do exactly what I need - though like this, its a game killer for me.</description>
		<content:encoded><![CDATA[<p>Very nice plug-in which works out of the box though with one problem. On my site it displays ALL images rather then just the thumbnails. On some pages it shows the full sized image which of course then expands into the rest of the page. Any idea how to fix this? Otherwise its a perfect plug-in that would do exactly what I need &#8211; though like this, its a game killer for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-251</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sat, 24 Jul 2010 20:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-251</guid>
		<description>Unfortunately, no. WP Super Cache caches all php built, html pages for quicker page loads. Since the Random Image Block is built directly into the html page, with WP Super Cache enabled, you will see the same random image on the same page until the cache refreshes. Each page will still have a diffrent image, but they will not update. Currently there is no work around.

I think im going to add this to the FAQ since there&#039;s really nothing I can do beside switching the whole thing to Javascript.</description>
		<content:encoded><![CDATA[<p>Unfortunately, no. WP Super Cache caches all php built, html pages for quicker page loads. Since the Random Image Block is built directly into the html page, with WP Super Cache enabled, you will see the same random image on the same page until the cache refreshes. Each page will still have a diffrent image, but they will not update. Currently there is no work around.</p>
<p>I think im going to add this to the FAQ since there&#8217;s really nothing I can do beside switching the whole thing to Javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-250</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 18 Jul 2010 02:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-250</guid>
		<description>Added to the wanted feature to the list.</description>
		<content:encoded><![CDATA[<p>Added to the wanted feature to the list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-249</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 18 Jul 2010 01:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-249</guid>
		<description>The code in http://mattrude.com/projects/random-image-block/#comment-1083 should work for your problem also.  But I still have never tested it.

Let me know how it goes.</description>
		<content:encoded><![CDATA[<p>The code in <a href="http://mattrude.com/projects/random-image-block/#comment-1083" rel="nofollow">http://mattrude.com/projects/random-image-block/#comment-1083</a> should work for your problem also.  But I still have never tested it.</p>
<p>Let me know how it goes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Odenkirk</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-248</link>
		<dc:creator>Odenkirk</dc:creator>
		<pubDate>Thu, 15 Jul 2010 05:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-248</guid>
		<description>Great plugin.

Is there any way to get this to work with wordpress supercache enabled?</description>
		<content:encoded><![CDATA[<p>Great plugin.</p>
<p>Is there any way to get this to work with wordpress supercache enabled?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-247</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Sat, 19 Jun 2010 08:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-247</guid>
		<description>Matt,

Thanks for this wonderful plugin. This is exactly what i am looking for to finish up my mobile blog to display the latest wallpaper from the wallpaper category

In my blog i just not using any widget all my widget elements are basically embedded with sidebar itself for quick load and custom design that fit my need.

Matt, I am just looking for the same. Could you please provide me a PHP code so that i can directly embed on the sidebar like what we display Akismet by just calling the function</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Thanks for this wonderful plugin. This is exactly what i am looking for to finish up my mobile blog to display the latest wallpaper from the wallpaper category</p>
<p>In my blog i just not using any widget all my widget elements are basically embedded with sidebar itself for quick load and custom design that fit my need.</p>
<p>Matt, I am just looking for the same. Could you please provide me a PHP code so that i can directly embed on the sidebar like what we display Akismet by just calling the function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-246</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Thu, 17 Jun 2010 13:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-246</guid>
		<description>Yes, the images must be in a WordPress native gallery.</description>
		<content:encoded><![CDATA[<p>Yes, the images must be in a WordPress native gallery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juno</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-245</link>
		<dc:creator>Juno</dc:creator>
		<pubDate>Thu, 17 Jun 2010 13:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-245</guid>
		<description>Do the images have to be saved in the WordPress media library? I have embedded images from an external gallery in posts of a certain category, and they don&#039;t show up in the widget.</description>
		<content:encoded><![CDATA[<p>Do the images have to be saved in the WordPress media library? I have embedded images from an external gallery in posts of a certain category, and they don&#8217;t show up in the widget.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-244</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 26 May 2010 06:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-244</guid>
		<description>I like this plugin. Nice and simple.

Is there anyway to get the random pic to link to the post page and not the attachment page?

Thanks.</description>
		<content:encoded><![CDATA[<p>I like this plugin. Nice and simple.</p>
<p>Is there anyway to get the random pic to link to the post page and not the attachment page?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-243</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Tue, 11 May 2010 23:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-243</guid>
		<description>At this point in time, you really can&#039;t without just rebuilding the plugin and build your own function.  It&#039;s just to integrated into the WordPress widget functions.

But if you really want to do this, here&#039;s my (untested) idea of how you could.


function random_image_block() {
    $riw_widget_title = &quot;Image Title&quot;;
    $riw_center = &quot;on&quot;;
    $riw_cat_id = &quot;1&quot;;
    global $wpdb;

    if ($riw_widget_title == &quot;&#160;&quot;) {
      $riw_widget_title = __(&#039;Random Image&#039;,&#039;random-image-block&#039;);
    }

    if ($riw_center == &quot;on&quot;) {
      $riw_center_output = &quot;align=center&quot;;
    } else {
      $riw_center_output = &quot;&quot;;
    }

    $args = array(
       &#039;post_type&#039; =&gt; &#039;attachment&#039;,
       &#039;post_mime_type&#039; =&gt; &#039;image&#039;,
       &#039;numberposts&#039; =&gt; -1,
       &#039;post_status&#039; =&gt; null,
       &#039;post_parent&#039; =&gt; $post-&gt;ID,
       &#039;orderby&#039; =&gt; &#039;rand&#039;
    );

    $attachments = get_posts($args);
    $noimages = count($attachments);
    if ($attachments) {
      foreach ($attachments as $attachment) {
        if ( $riw_cat_id !== &quot;-1&quot; ) {
          $albumid = $attachment-&gt;post_parent;
          //echo &quot;on&quot;;
        } else {
          $albumid = $attachment-&gt;post_parent;
	  foreach((get_the_category($albumid)) as $category) {
            $riw_cat_id = $category-&gt;cat_ID;
          }

	}

        if (in_category($riw_cat_id, $albumid)) {
          $imgid = $attachment-&gt;ID;
          $meta = wp_get_attachment_metadata($imgid);

          // construct the image
          echo &quot;{$before_widget}{$before_title}$riw_widget_title{$after_title}&quot;;
          echo &quot;&lt;div class=&#039;random-image&#039;&gt;&quot;;
          echo &quot;&lt;p class=&#039;random-image-img&#039; $riw_center_output &gt;&quot;;
          echo &quot;&lt;a href=&quot;.get_permalink( $imgid ).&quot;  rel=&quot;nofollow&quot;&gt;&quot;;
          echo &quot;&lt;img width=&#039;&quot;.$meta[&#039;sizes&#039;][&#039;thumbnail&#039;][&#039;width&#039;].&quot;&#039;  height=&#039;&quot;.$meta[&#039;sizes&#039;][&#039;thumbnail&#039;][&#039;height&#039;].&quot;&#039; src=&#039;&quot;.wp_get_attachment_thumb_url($imgid).&quot;&#039; alt=&#039;Random image: &quot;.$attachment-/&gt;post_title.&quot;&#039; /&gt;&quot;;
          echo &quot;&lt;/a&gt;&lt;/p&gt;&quot;;
          echo &quot;&lt;p class=&#039;random-image-caption&#039;&gt;&lt;strong&gt;$attachment-&gt;post_excerpt&lt;/strong&gt;&lt;/p&gt;&quot;;
          echo &quot;&lt;p class=&#039;random-image-album&#039;&gt;&lt;small&gt;&quot;.__(&#039;Album:&#039;,&#039;random-image-block&#039;).&quot; &lt;a href=&quot;.get_permalink( $albumid ).&quot; rel=&quot;nofollow&quot;&gt;&quot;.get_the_title($albumid).&quot;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&quot;;
          echo &quot;&lt;/div&gt;&quot;;
          echo $after_widget;
          break;
	}
      }
    }
}
</description>
		<content:encoded><![CDATA[<p>At this point in time, you really can&#8217;t without just rebuilding the plugin and build your own function.  It&#8217;s just to integrated into the WordPress widget functions.</p>
<p>But if you really want to do this, here&#8217;s my (untested) idea of how you could.</p>
<p>function random_image_block() {<br />
    $riw_widget_title = &#8220;Image Title&#8221;;<br />
    $riw_center = &#8220;on&#8221;;<br />
    $riw_cat_id = &#8220;1&#8243;;<br />
    global $wpdb;</p>
<p>    if ($riw_widget_title == &#8220;&nbsp;&#8221;) {<br />
      $riw_widget_title = __(&#8216;Random Image&#8217;,'random-image-block&#8217;);<br />
    }</p>
<p>    if ($riw_center == &#8220;on&#8221;) {<br />
      $riw_center_output = &#8220;align=center&#8221;;<br />
    } else {<br />
      $riw_center_output = &#8220;&#8221;;<br />
    }</p>
<p>    $args = array(<br />
       &#8216;post_type&#8217;=&gt; &#8216;attachment&#8217;,<br />
       &#8216;post_mime_type&#8217;=&gt; &#8216;image&#8217;,<br />
       &#8216;numberposts&#8217;=&gt; -1,<br />
       &#8216;post_status&#8217;=&gt; null,<br />
       &#8216;post_parent&#8217;=&gt; $post-&gt;ID,<br />
       &#8216;orderby&#8217;=&gt; &#8216;rand&#8217;    );</p>
<p>    $attachments = get_posts($args);<br />
    $noimages = count($attachments);<br />
    if ($attachments) {<br />
      foreach ($attachments as $attachment) {<br />
        if ( $riw_cat_id !== &#8220;-1&#8243; ) {<br />
          $albumid = $attachment-&gt;post_parent;<br />
          //echo &#8220;on&#8221;;<br />
        } else {<br />
          $albumid = $attachment-&gt;post_parent;<br />
	  foreach((get_the_category($albumid)) as $category) {<br />
            $riw_cat_id = $category-&gt;cat_ID;<br />
          }</p>
<p>	}</p>
<p>        if (in_category($riw_cat_id, $albumid)) {<br />
          $imgid = $attachment-&gt;ID;<br />
          $meta = wp_get_attachment_metadata($imgid);</p>
<p>          // construct the image<br />
          echo &#8220;{$before_widget}{$before_title}$riw_widget_title{$after_title}&#8221;;<br />
          echo &#8220;&lt;div class=&#8217;random-image&#8217;&gt;&#8221;;<br />
          echo &#8220;&lt;p class=&#8217;random-image-img&#8217;$riw_center_output &gt;&#8221;;<br />
          echo &#8220;&lt;a href=&#8221;.get_permalink( $imgid ).&#8221;  rel=&#8221;nofollow&#8221;&gt;&#8221;;<br />
          echo &#8220;&lt;img width=&#8217;&#8221;.$meta['sizes']['thumbnail']['width'].&#8221;&#8216;  height=&#8217;&#8221;.$meta['sizes']['thumbnail']['height'].&#8221;&#8216; src=&#8217;&#8221;.wp_get_attachment_thumb_url($imgid).&#8221;&#8216; alt=&#8217;Random image: &#8220;.$attachment-/&gt;post_title.&#8221;&#8216; /&gt;&#8221;;<br />
          echo &#8220;&lt;/a&gt;&lt;/p&gt;&#8221;;<br />
          echo &#8220;&lt;p class=&#8217;random-image-caption&#8217;&gt;&lt;strong&gt;$attachment-&gt;post_excerpt&lt;/strong&gt;&lt;/p&gt;&#8221;;<br />
          echo &#8220;&lt;p class=&#8217;random-image-album&#8217;&gt;&lt;small&gt;&#8221;.__(&#8216;Album:&#8217;,'random-image-block&#8217;).&#8221; &lt;a href=&#8221;.get_permalink( $albumid ).&#8221; rel=&#8221;nofollow&#8221;&gt;&#8221;.get_the_title($albumid).&#8221;&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&#8221;;<br />
          echo &#8220;&lt;/div&gt;&#8221;;<br />
          echo $after_widget;<br />
          break;<br />
	}<br />
      }<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-242</link>
		<dc:creator>Mauricio</dc:creator>
		<pubDate>Tue, 11 May 2010 20:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-242</guid>
		<description>Hi!  How can I use the function in any place of my blog, instead of using it as widget?

Could you please post an example code?

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi!  How can I use the function in any place of my blog, instead of using it as widget?</p>
<p>Could you please post an example code?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-241</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sat, 01 May 2010 00:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-241</guid>
		<description>You didn&#039;t miss anything, you may only have the one category at this time.  I am working on allowing you to have as many as you have on your site.  But it&#039;s not working yet.</description>
		<content:encoded><![CDATA[<p>You didn&#8217;t miss anything, you may only have the one category at this time.  I am working on allowing you to have as many as you have on your site.  But it&#8217;s not working yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-240</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sat, 01 May 2010 00:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-240</guid>
		<description>I see that you have two option to try and get you images to fit the wide sidebar.

1.  You can increase the size of your thumbnails and rebuild them. You may need to play with the sizes a bit After you have increased the size of your thumbnails, to update the thumbnails already on your site, check out the plugin “Regenerate Thumbnails” by Viper007Bond.

2.  You may also modify the widgets code to use the medium size image instead of the thumbnail if your use them for something else.  You will most likely still need to play with the sizes and rebuild the images to get it to look right.</description>
		<content:encoded><![CDATA[<p>I see that you have two option to try and get you images to fit the wide sidebar.</p>
<p>1.  You can increase the size of your thumbnails and rebuild them. You may need to play with the sizes a bit After you have increased the size of your thumbnails, to update the thumbnails already on your site, check out the plugin “Regenerate Thumbnails” by Viper007Bond.</p>
<p>2.  You may also modify the widgets code to use the medium size image instead of the thumbnail if your use them for something else.  You will most likely still need to play with the sizes and rebuild the images to get it to look right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-239</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Fri, 30 Apr 2010 23:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-239</guid>
		<description>Juan, I&#039;m sorry but I don&#039;t understand what your asking me.  Can you please explain what your trying to do.

Sorry,
-Matt</description>
		<content:encoded><![CDATA[<p>Juan, I&#8217;m sorry but I don&#8217;t understand what your asking me.  Can you please explain what your trying to do.</p>
<p>Sorry,<br />
-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-238</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Fri, 30 Apr 2010 23:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-238</guid>
		<description>No you can&#039;t add a category to a page or an image, both limits of WordPress.  The best way I can think of for you to display pictures on the side bar, that you will still be able to view the full size image of, add pictures as a gallery to a post, but never add the [gallery] short code.   I haven&#039;t tried this yet, but I don&#039;t see why it wouldn&#039;t work.  Let me know.</description>
		<content:encoded><![CDATA[<p>No you can&#8217;t add a category to a page or an image, both limits of WordPress.  The best way I can think of for you to display pictures on the side bar, that you will still be able to view the full size image of, add pictures as a gallery to a post, but never add the [gallery] short code.   I haven&#8217;t tried this yet, but I don&#8217;t see why it wouldn&#8217;t work.  Let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: juan pablo</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-237</link>
		<dc:creator>juan pablo</dc:creator>
		<pubDate>Mon, 19 Apr 2010 18:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-237</guid>
		<description>Hello, thanks for this great plugin!, How Can I get a php call to reform manually my template?</description>
		<content:encoded><![CDATA[<p>Hello, thanks for this great plugin!, How Can I get a php call to reform manually my template?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pwayboy</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-236</link>
		<dc:creator>pwayboy</dc:creator>
		<pubDate>Fri, 16 Apr 2010 05:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-236</guid>
		<description>I still don&#039;t get it. You can&#039;t assign a category to a page or to an image.

I only want a handful of images in the rotation and not the entire media library.

Also, this may be a WordPress oversight: Once you attach an image to a post or page, you can&#039;t detach it.

Any recommendations?</description>
		<content:encoded><![CDATA[<p>I still don&#8217;t get it. You can&#8217;t assign a category to a page or to an image.</p>
<p>I only want a handful of images in the rotation and not the entire media library.</p>
<p>Also, this may be a WordPress oversight: Once you attach an image to a post or page, you can&#8217;t detach it.</p>
<p>Any recommendations?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-235</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sun, 11 Apr 2010 22:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-235</guid>
		<description>You don&#039;t, you assign the category to the page the image is attached to, whether it&#039;s in a gallery or directly embedded.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t, you assign the category to the page the image is attached to, whether it&#8217;s in a gallery or directly embedded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pwayboy</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-234</link>
		<dc:creator>pwayboy</dc:creator>
		<pubDate>Sun, 11 Apr 2010 22:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-234</guid>
		<description>How do I assign a category to an image in the library?</description>
		<content:encoded><![CDATA[<p>How do I assign a category to an image in the library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aviram</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-233</link>
		<dc:creator>aviram</dc:creator>
		<pubDate>Wed, 07 Apr 2010 19:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-233</guid>
		<description>Hi,
@ first i want to thank u for this plugin it&#039;s Grate ,
just 1 problem .. my sidbar is Wide and when the pic shown on my sidbar it&#039;s very small , can U tell me how can i edit the size of pic to fix it with my sidbar ?
and another quastion , when somebody click on the pic on the sidbar , i want him to redirect him to the same post of the pic , not on the same pic,,,
If u like to take a look on my site (adeab.com)
thats it , i&#039;m waiting your answer ,
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
@ first i want to thank u for this plugin it&#8217;s Grate ,<br />
just 1 problem .. my sidbar is Wide and when the pic shown on my sidbar it&#8217;s very small , can U tell me how can i edit the size of pic to fix it with my sidbar ?<br />
and another quastion , when somebody click on the pic on the sidbar , i want him to redirect him to the same post of the pic , not on the same pic,,,<br />
If u like to take a look on my site (adeab.com)<br />
thats it , i&#8217;m waiting your answer ,<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-232</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Wed, 10 Mar 2010 02:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-232</guid>
		<description>MikeC,
Thanks a lot for taking the time and giving me some input.

Point 1, don&#039;t know, need to look into it more. So the image isn&#039;t loading or the whole page?  If whole page, does the page load up to the random image, then stop?

Point 2, this is something that I have known about for a while, but haven&#039;t figured out a better way (maybe I should just set it to 5 or something small, then add an option to change it back to all posts when someone needs too).  I actually had it set to 25 for a while, but got complaints, but I have a feeling more people are seeing the slowness your seeing, then were &quot;missing&quot; the image on random page loads.

Point 3, The current way the categories are filtered is dumb (check to see if post has image, check to see if post is in category, if not, rerun loop), im actually surprised your the first to say anything about it.  Currently Im looking at better ways of filtering what categories are displayed, that will allow for more then one at a time.  But I wasn&#039;t looking to necessary change the line of code, so maybe I should re think what needs to happen.

I&#039;m glad the plugin does what you want it to do, if you find any other questionable parts or have any other input, please let me know.</description>
		<content:encoded><![CDATA[<p>MikeC,<br />
Thanks a lot for taking the time and giving me some input.</p>
<p>Point 1, don&#8217;t know, need to look into it more. So the image isn&#8217;t loading or the whole page?  If whole page, does the page load up to the random image, then stop?</p>
<p>Point 2, this is something that I have known about for a while, but haven&#8217;t figured out a better way (maybe I should just set it to 5 or something small, then add an option to change it back to all posts when someone needs too).  I actually had it set to 25 for a while, but got complaints, but I have a feeling more people are seeing the slowness your seeing, then were &#8220;missing&#8221; the image on random page loads.</p>
<p>Point 3, The current way the categories are filtered is dumb (check to see if post has image, check to see if post is in category, if not, rerun loop), im actually surprised your the first to say anything about it.  Currently Im looking at better ways of filtering what categories are displayed, that will allow for more then one at a time.  But I wasn&#8217;t looking to necessary change the line of code, so maybe I should re think what needs to happen.</p>
<p>I&#8217;m glad the plugin does what you want it to do, if you find any other questionable parts or have any other input, please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeC</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-231</link>
		<dc:creator>MikeC</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-231</guid>
		<description>I was wondering why nobody had written a plugin like this, so i was delighted when i found yours. Not perfect for my needs so i adapted it to put up multiple images in the widget and it worked very nicely and very simply. But, there are a few small problems with your plugin (v0.7) that you should look into.
1. where an image is not attached to a post, it will stop the page from generating.
2. the widget was adding about half a second to my page load time. checked it out and your use of  &#039;numberposts&#039; =&gt; -1, when getting the images in the database was creating massive sql queries, so if you can change numberposts to a small number, then it will help a lot. (I installed the WP-Devel plugin which allowed me to see the SQL queries)
3. the line: if (in_category($riw_cat_id, $albumid)): when this was set to &quot;all categories&quot;, i was finding that it was only rejecting lots of album id&#039;s. which was strange since all album id&#039;s should have been accepted. (i didn&#039;t look any further into it, as i just turned off the categories bit cos it was of no interest to me)

hope this  helps, and isn&#039;t too confusing
mike</description>
		<content:encoded><![CDATA[<p>I was wondering why nobody had written a plugin like this, so i was delighted when i found yours. Not perfect for my needs so i adapted it to put up multiple images in the widget and it worked very nicely and very simply. But, there are a few small problems with your plugin (v0.7) that you should look into.<br />
1. where an image is not attached to a post, it will stop the page from generating.<br />
2. the widget was adding about half a second to my page load time. checked it out and your use of  &#8216;numberposts&#8217;=&gt; -1, when getting the images in the database was creating massive sql queries, so if you can change numberposts to a small number, then it will help a lot. (I installed the WP-Devel plugin which allowed me to see the SQL queries)<br />
3. the line: if (in_category($riw_cat_id, $albumid)): when this was set to &#8220;all categories&#8221;, i was finding that it was only rejecting lots of album id&#8217;s. which was strange since all album id&#8217;s should have been accepted. (i didn&#8217;t look any further into it, as i just turned off the categories bit cos it was of no interest to me)</p>
<p>hope this  helps, and isn&#8217;t too confusing<br />
mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kbuntu</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-230</link>
		<dc:creator>Kbuntu</dc:creator>
		<pubDate>Sun, 28 Feb 2010 00:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-230</guid>
		<description>Thanks,

I&#039;ve downloaded it and activated it using &quot;all categories&quot; though.

I have a lot of sub categories. Maybe I missed it. Can I select multiple categories?</description>
		<content:encoded><![CDATA[<p>Thanks,</p>
<p>I&#8217;ve downloaded it and activated it using &#8220;all categories&#8221; though.</p>
<p>I have a lot of sub categories. Maybe I missed it. Can I select multiple categories?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-229</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Sat, 27 Feb 2010 23:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-229</guid>
		<description>Yep, the category selection is now done via a drop down menu and not longer a text box.  It should work well for you know.

Let me know if you have any problems.</description>
		<content:encoded><![CDATA[<p>Yep, the category selection is now done via a drop down menu and not longer a text box.  It should work well for you know.</p>
<p>Let me know if you have any problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kbuntu</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-228</link>
		<dc:creator>Kbuntu</dc:creator>
		<pubDate>Sat, 27 Feb 2010 23:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-228</guid>
		<description>Hi Matt,

I&#039;m still using your plugin. I remember you were thinking implementing category selection. Just want to clarify so I can upgrade.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I&#8217;m still using your plugin. I remember you were thinking implementing category selection. Just want to clarify so I can upgrade.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-227</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Wed, 24 Feb 2010 21:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-227</guid>
		<description>Wonderful, this was an update that I have been meaning to do for a while. So when you asked, I figured I mite as well get it out to you.

I&#039;m glad to hear its working.
-Matt</description>
		<content:encoded><![CDATA[<p>Wonderful, this was an update that I have been meaning to do for a while. So when you asked, I figured I mite as well get it out to you.</p>
<p>I&#8217;m glad to hear its working.<br />
-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Atkins</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-226</link>
		<dc:creator>Tracy Atkins</dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-226</guid>
		<description>Thank you Matt!

That updated worked Perfectly!

I really have to commend you on the good work and thank you for providing top notch support for it too.  That is something to be proud of.

Thank you!
-Tracy</description>
		<content:encoded><![CDATA[<p>Thank you Matt!</p>
<p>That updated worked Perfectly!</p>
<p>I really have to commend you on the good work and thank you for providing top notch support for it too.  That is something to be proud of.</p>
<p>Thank you!<br />
-Tracy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-225</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Wed, 24 Feb 2010 00:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-225</guid>
		<description>Tracy,
I just released version 0.7 of the plugin.  This release *should* resolve the problems that you and others have ran into.  Please try version 0.7 and let me know.

It should now follow your themes structure, assuming the theme declared what it wants the plugin to look like, the plugin should now form to it.
-Matt</description>
		<content:encoded><![CDATA[<p>Tracy,<br />
I just released version 0.7 of the plugin.  This release *should* resolve the problems that you and others have ran into.  Please try version 0.7 and let me know.</p>
<p>It should now follow your themes structure, assuming the theme declared what it wants the plugin to look like, the plugin should now form to it.<br />
-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Atkins</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-224</link>
		<dc:creator>Tracy Atkins</dc:creator>
		<pubDate>Tue, 23 Feb 2010 06:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-224</guid>
		<description>Matt,

Excellent Plugin!  Very Useful!

I too seem to have a theme that isnt co-operating as it should.  Can you point me in the right direction (or css file) so i can get the formatting too?  (and centered)

Thanks a lot, and thanks for the great plugin!</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Excellent Plugin!  Very Useful!</p>
<p>I too seem to have a theme that isnt co-operating as it should.  Can you point me in the right direction (or css file) so i can get the formatting too?  (and centered)</p>
<p>Thanks a lot, and thanks for the great plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Rude</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-223</link>
		<dc:creator>Matt Rude</dc:creator>
		<pubDate>Tue, 16 Feb 2010 23:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-223</guid>
		<description>Sorry, try putting in the category&#039;s slug not ID.  You should be able to find the slug in Posts -&gt; Categories.  The slug is usually just the category name but all lower case and dashes where any spaces may be.</description>
		<content:encoded><![CDATA[<p>Sorry, try putting in the category&#8217;s slug not ID.  You should be able to find the slug in Posts -&gt; Categories.  The slug is usually just the category name but all lower case and dashes where any spaces may be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barney Byt</title>
		<link>http://mattrude.com/projects/random-image-block/#comment-222</link>
		<dc:creator>Barney Byt</dc:creator>
		<pubDate>Tue, 16 Feb 2010 22:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://mattrude.com/?page_id=1850#comment-222</guid>
		<description>This is the closest I&#039;ve yet found to what I want, after trying twenty or more problematic or error-generating WP plugins.  But... it doesn&#039;t respect the &quot;pull images only from a particular posting category&quot; setting.  I tell it to use category 10, but it persists in using _any_ image from _anywhere_ on my blog?</description>
		<content:encoded><![CDATA[<p>This is the closest I&#8217;ve yet found to what I want, after trying twenty or more problematic or error-generating WP plugins.  But&#8230; it doesn&#8217;t respect the &#8220;pull images only from a particular posting category&#8221; setting.  I tell it to use category 10, but it persists in using _any_ image from _anywhere_ on my blog?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

