<?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: How to: Default featured image and post thumbnail + migration?</title>
		<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration</link>
		<description>Support Forum - Topic: How to: Default featured image and post thumbnail + migration?</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 03:14:53 +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/how-to-default-featured-image-and-post-thumbnail-migration" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "How to: Default featured image and post thumbnail + migration?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration#post-23902</link>
			<pubDate>Mon, 01 Aug 2011 10:07:37 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23902@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You can use 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; to fetch images from various sources (i.e. post content). Instead of a hardcoded string you can then set  the output as $preview_image.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mpforce on "How to: Default featured image and post thumbnail + migration?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration#post-23901</link>
			<pubDate>Mon, 01 Aug 2011 10:04:46 +0000</pubDate>
			<dc:creator>mpforce</dc:creator>
			<guid isPermaLink="false">23901@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude, thanks for the snippet. &#60;/p&#62;
&#60;p&#62;I haven't tested your alteration yet, just to be clear - it would help with the default image, but how is it going to populate the thumb on the index page from an image from the post?&#60;/p&#62;
&#60;p&#62;Sample:&#60;/p&#62;
&#60;p&#62;I create a post, add title, in the content text + 2 images. The first image to be visible instead of the post thumb (not to populate two fields).&#60;/p&#62;
&#60;p&#62;I suppose I could write an action on addition or filter on preview, it would probably be easier?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to: Default featured image and post thumbnail + migration?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration#post-23889</link>
			<pubDate>Mon, 01 Aug 2011 05:54:28 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">23889@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
I'd replace following code in index.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$preview_image = kriesi_post_thumb($post-&#38;gt;ID, array(&#38;#39;size&#38;#39;=&#38;gt; array($kimg[&#38;#39;shortcut&#38;#39;],$kimg[&#38;#39;overwrite&#38;#39;]),
															&#38;#39;display_link&#38;#39; =&#38;gt; array(&#38;#39;none&#38;#39;),
															&#38;#39;wh&#38;#39; =&#38;gt; $k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][$kimg[&#38;#39;shortcut&#38;#39;]]
															));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$preview_image = kriesi_post_thumb($post-&#38;gt;ID, array(&#38;#39;size&#38;#39;=&#38;gt; array($kimg[&#38;#39;shortcut&#38;#39;],$kimg[&#38;#39;overwrite&#38;#39;]),
															&#38;#39;display_link&#38;#39; =&#38;gt; array(&#38;#39;none&#38;#39;),
															&#38;#39;wh&#38;#39; =&#38;gt; $k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][$kimg[&#38;#39;shortcut&#38;#39;]]
															));

if(empty($preview_image)) { $preview_image = &#38;#39;&#38;lt;img src=&#38;quot;http://your.image&#38;quot; alt=&#38;quot;&#38;quot; title=&#38;quot;&#38;quot; width=&#38;quot;700&#38;quot; height=&#38;quot;320&#38;quot; /&#38;gt;&#38;#39;; }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and instead of &#60;a href=&#34;http://your.image&#34; rel=&#34;nofollow&#34;&#62;http://your.image&#60;/a&#62; fill in your fallback image.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mpforce on "How to: Default featured image and post thumbnail + migration?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration#post-23873</link>
			<pubDate>Sun, 31 Jul 2011 15:52:44 +0000</pubDate>
			<dc:creator>mpforce</dc:creator>
			<guid isPermaLink="false">23873@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OK I figured the featured question as I could feature only a given category. But the question for listing blogs without the images inside stays active.&#60;/p&#62;
&#60;p&#62;Any tips for that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mpforce on "How to: Default featured image and post thumbnail + migration?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-default-featured-image-and-post-thumbnail-migration#post-23872</link>
			<pubDate>Sun, 31 Jul 2011 15:45:12 +0000</pubDate>
			<dc:creator>mpforce</dc:creator>
			<guid isPermaLink="false">23872@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi there, &#60;/p&#62;
&#60;p&#62;A client of mine owns a website with 1300 posts and we bought Newscast for him and installed as well. However his out layout had post thumbnails on the home page listed from the first image added in the post. Now, in order for him to work OK, he has to:&#60;/p&#62;
&#60;p&#62;1) Create a post&#60;br /&#62;
2) Add images to a post&#60;br /&#62;
3) Add featured image for the slider to work&#60;br /&#62;
4) Add post thumbnail for the images to be visible on home page&#60;/p&#62;
&#60;p&#62;Is there any easy way adding a post to populate header slider + index home page? Also this preloader when image is not available would rather be default image, it's annoying when it is animated gif or something.&#60;/p&#62;
&#60;p&#62;Also, as this is an old blog, is there a way (script) to drive all the 1300 posts through that process and assign the images in the post as post thumbnails and featured posts?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
