<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>Support Forum - Topic: Post Image</title>
		<link>http://www.kriesi.at/support/topic/post-image</link>
		<description>Support Forum - Topic: Post Image</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 12:41:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/post-image" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-16756</link>
			<pubDate>Mon, 11 Apr 2011 13:22:02 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">16756@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I must admit I never used the &#34;get the image&#34; plugin. As far as I know you need some php skills to implement it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crazywp on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-16722</link>
			<pubDate>Mon, 11 Apr 2011 02:59:38 +0000</pubDate>
			<dc:creator>crazywp</dc:creator>
			<guid isPermaLink="false">16722@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Simply you can attached all images and add this code in the post content &#60;/p&#62;
&#60;p&#62;it will call all attached images &#60;/p&#62;
&#60;p&#62;The code&#60;/p&#62;
&#60;p&#62;	        &#38;lt;?php&#60;br /&#62;
$attachments = get_children( array('post_parent' =&#38;gt; get_the_ID(), 'post_type' =&#38;gt; 'attachment', 'post_mime_type' =&#38;gt; 'image') );&#60;br /&#62;
foreach ( $attachments as $attachment_id =&#38;gt; $attachment ) {&#60;br /&#62;
	echo '&#38;lt;div style=&#34;float:left;margin:0px 5px 0px 0px;background:#eeeeee;border:1px solid #bbb;padding:5px;&#34; &#38;gt;';&#60;br /&#62;
	echo ' ' . wp_get_attachment_link( $attachment_id ) . '';&#60;br /&#62;
			echo '&#38;lt;/div&#38;gt;';&#60;br /&#62;
} ?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tap-tap on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-16715</link>
			<pubDate>Sun, 10 Apr 2011 23:40:48 +0000</pubDate>
			<dc:creator>tap-tap</dc:creator>
			<guid isPermaLink="false">16715@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Is there any answer? I need this also. Thank You Dude!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jkwalls on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-9784</link>
			<pubDate>Fri, 03 Dec 2010 18:49:59 +0000</pubDate>
			<dc:creator>jkwalls</dc:creator>
			<guid isPermaLink="false">9784@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;For this plugin, in the FAQ for it says you need to insert &#60;/p&#62;
&#60;p&#62;&#38;lt;?php if ( function_exists( 'get_the_image' ) ) get_the_image(); ?&#38;gt;&#60;/p&#62;
&#60;p&#62;but where would that go into? Index.php?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-5297</link>
			<pubDate>Wed, 22 Sep 2010 06:23:04 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">5297@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Have a look at this plugin: &#60;a href=&#34;http://wordpress.org/extend/plugins/get-the-image/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/get-the-image/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It grabs the featured image from the post content. Please report if it helps you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mattyro on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-5269</link>
			<pubDate>Tue, 21 Sep 2010 22:46:17 +0000</pubDate>
			<dc:creator>mattyro</dc:creator>
			<guid isPermaLink="false">5269@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Dude,&#60;/p&#62;
&#60;p&#62;I went ahead and purchased the Expose theme based on your response to my previous question and learned that the theme doesn't function how I had initially asked. I was hoping that the theme would take the image in the post body, and from that create the thumb/feature image. I learned once I purchased that the image has to be added via a meta box on the edit post page. Here is what I am trying to create.&#60;/p&#62;
&#60;p&#62;I am using the Gravity Forms plugin to allow users to submit info, and a image via the form to create a post. I did a test and the image uploads to the body of the post, but the theme doesn't auto resize the image in the post for the thumb. The free Gallery theme by Chris Wallace (&#60;a href=&#34;http://upthemes.com/2010/03/gallery/&#34; rel=&#34;nofollow&#34;&#62;http://upthemes.com/2010/03/gallery/&#60;/a&#62;) does this beautifully, but I am a fan of the Kreisi look. &#60;/p&#62;
&#60;p&#62;I found the code in Expose for the Media upload in the kriesi_meta_box.php file. Do you think it is possible to grab some of the code from the media upload and add it to the Gravity Forms post image submission hook below so the image uploaded becomes the thumb/feature image?&#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_post_submission&#34;, &#34;set_post_content&#34;, 10, 2);&#60;br /&#62;
function set_post_content($entry, $form){&#60;/p&#62;
&#60;p&#62;     //Replace 1 with your actual form id&#60;br /&#62;
    if($form[&#34;id&#34;] != 1)&#60;br /&#62;
       return&#60;/p&#62;
&#60;p&#62;    //getting post&#60;br /&#62;
    $post = get_post($entry[&#34;post_id&#34;]);&#60;/p&#62;
&#60;p&#62;    //changing post content.&#60;br /&#62;
    //NOTE: Replace 8 (in $entry[8]) with your actual image field id. You can find the id by inspecting the page markup&#60;br /&#62;
    $post-&#38;gt;post_content = &#34;This is my image &#60;br /&#62; &#60;img src='&#34; . $entry[8] . &#34;' /&#62;&#34;;&#60;/p&#62;
&#60;p&#62;    //updating post&#60;br /&#62;
    wp_update_post($post);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Thanks for any input.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-5162</link>
			<pubDate>Mon, 20 Sep 2010 07:08:58 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">5162@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;The theme auto resizes the images automatically. You can set specific post thumbs though..&#60;/p&#62;
&#60;p&#62;The Dude
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mattyro on "Post Image"</title>
			<link>http://www.kriesi.at/support/topic/post-image#post-5150</link>
			<pubDate>Sun, 19 Sep 2010 19:43:44 +0000</pubDate>
			<dc:creator>mattyro</dc:creator>
			<guid isPermaLink="false">5150@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello Kriesi, &#60;/p&#62;
&#60;p&#62;Great theme! I have a quick question before purchasing the theme. I wanted to know how the theme treats the images you post. If I add a image to the post body, does the theme auto resize that for the post image and thumbnail in gallery view? Or are the images added by entering specific URLs in custom fields on the post page? &#60;/p&#62;
&#60;p&#62;Thx.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
