<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: How do I get a list of all images attached to a single post?</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: How do I get a list of all images attached to a single post?</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 11:01:41 +0000</pubDate>

<item>
<title>wearitwell on "How do I get a list of all images attached to a single post?"</title>
<link>http://wordpress.org/support/topic/286294#post-1125250</link>
<pubDate>Fri, 03 Jul 2009 19:54:34 +0000</pubDate>
<dc:creator>wearitwell</dc:creator>
<guid isPermaLink="false">1125250@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I used this code once with a slightly different purpose. But it should be no problem to change it so it will match your needs...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://snipplr.com/view/16395/wordpress--automatically-create-greybox-imageset-from-images-attached-to-post/&#34;&#62;Automatic imageset&#60;/a&#62;&#60;br /&#62;
Good luck&#60;br /&#62;
Anja
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "How do I get a list of all images attached to a single post?"</title>
<link>http://wordpress.org/support/topic/286294#post-1125110</link>
<pubDate>Fri, 03 Jul 2009 18:29:13 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">1125110@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You will want to look at &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/get_children&#34;&#62;get_children()&#60;/a&#62;.  A good example of usage is in &#60;code&#62;wp-admin/includes/media.php&#60;/code&#62; at line 1058 (in 2.8)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$attachments = get_children( array( &#38;#39;post_parent&#38;#39; =&#38;gt; $post_id, &#38;#39;post_type&#38;#39; =&#38;gt; &#38;#39;attachment&#38;#39;, &#38;#39;orderby&#38;#39; =&#38;gt; &#38;#39;menu_order ASC, ID&#38;#39;, &#38;#39;order&#38;#39; =&#38;gt; &#38;#39;DESC&#38;#39;) );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That code comes from the function &#60;code&#62;get_media_items()&#60;/code&#62; that's worth reviewing.
&#60;/p&#62;</description>
</item>
<item>
<title>bernk on "How do I get a list of all images attached to a single post?"</title>
<link>http://wordpress.org/support/topic/286294#post-1124865</link>
<pubDate>Fri, 03 Jul 2009 14:48:38 +0000</pubDate>
<dc:creator>bernk</dc:creator>
<guid isPermaLink="false">1124865@http://wordpress.org/support/</guid>
<description>&#60;p&#62;If I have a post and I go to add images I can add images to its Gallery without inserting them into the actual post.&#60;/p&#62;
&#60;p&#62;What I need to do is build a CSV list of the paths to all of the images to pass to Flash.&#60;/p&#62;
&#60;p&#62;Anyone have any ideas?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
