<?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>WPThemeDesigner Support &#187; Tag: images - Recent Topics</title>
		<link>http://wpthemedesigner.com/support/tags/images</link>
		<description>Online Support Community</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Feb 2012 20:41:02 +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://wpthemedesigner.com/support/search.php</link>
		</textInput>
		<atom:link href="http://wpthemedesigner.com/support/rss/tags/images/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>admin on "Render Magazine"</title>
			<link>http://wpthemedesigner.com/support/topic/render-magazine#post-59</link>
			<pubDate>Sun, 18 Apr 2010 03:19:33 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">59@http://wpthemedesigner.com/support/</guid>
			<description>&#60;p&#62;Kindly post your questions, suggestions and thoughts about the theme here. Thanks! -WPThemeDesigner
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Shinji Azuma on "Where should I upload PSD files and XHTML files"</title>
			<link>http://wpthemedesigner.com/support/topic/basic-question-where-should-i-upload-psd-files-and-xhtml-files#post-244</link>
			<pubDate>Wed, 16 Jun 2010 18:38:36 +0000</pubDate>
			<dc:creator>Shinji Azuma</dc:creator>
			<guid isPermaLink="false">244@http://wpthemedesigner.com/support/</guid>
			<description>&#60;p&#62;I have just downloaded the theme and other files. I am very new to WP and cannot find the information where I need/can upload those PSD and xhtml files?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lillie Lewis on "Replace Featured Content with Image Gallery/Slideshow"</title>
			<link>http://wpthemedesigner.com/support/topic/replace-featured-content-with-image-galleryslideshow#post-213</link>
			<pubDate>Wed, 02 Jun 2010 06:45:11 +0000</pubDate>
			<dc:creator>Lillie Lewis</dc:creator>
			<guid isPermaLink="false">213@http://wpthemedesigner.com/support/</guid>
			<description>&#60;p&#62;There are several themes here that I like, however, I do not want a featured content slider where the images are pulled from separate posts. Instead, I would like that space to contain an image gallery that I can easily administer through the dashboard. Is there anyway to accomplish this? Thanks for any and all responses.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Maura van der Linden on "Thumbnail Behavior Change in The WebNews - How do I do this?"</title>
			<link>http://wpthemedesigner.com/support/topic/thumbnail-behavior-change-in-the-webnews-how-do-i-do-this#post-209</link>
			<pubDate>Sat, 29 May 2010 18:49:48 +0000</pubDate>
			<dc:creator>Maura van der Linden</dc:creator>
			<guid isPermaLink="false">209@http://wpthemedesigner.com/support/</guid>
			<description>&#60;p&#62;Right now the standard behavior is that if there are no images in a post, just an empty grey background appears on the main index page above the post title and excerpt. If the post has images, the LAST image is cropped down and appears within the grey background on main index page. If I'm reading the function correctly in functions.php, it's actually parsing through ALL the images in the post and putting them on the main index page, with the last one staying. Seems a bit like extra work and not the behavior I want anyway. &#60;/p&#62;
&#60;p&#62;The current function being called is:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
# Displays post image attachment (sizes: thumbnail, medium, full)&#60;br /&#62;
function dp_attachment_image($postid=0, $size='thumbnail', $attributes='') {&#60;br /&#62;
	if ($postid&#38;lt;1) $postid = get_the_ID();&#60;br /&#62;
	if ($images = get_children(array(&#60;br /&#62;
		'post_parent' =&#38;gt; $postid,&#60;br /&#62;
		'post_type' =&#38;gt; 'attachment',&#60;br /&#62;
		'numberposts' =&#38;gt; 1,&#60;br /&#62;
		'post_mime_type' =&#38;gt; 'image',)))&#60;br /&#62;
		foreach($images as $image) {&#60;br /&#62;
			$attachment=wp_get_attachment_image_src($image-&#38;gt;ID, $size);&#60;br /&#62;
			?&#38;gt;&#38;lt;img src=&#34;&#38;lt;?php echo $attachment[0]; ?&#38;gt;&#34; &#38;lt;?php echo $attributes; ?&#38;gt; /&#38;gt;&#38;lt;?php&#60;br /&#62;
		}&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;What I'd like to have happen is if there are images in a post, the first image is always the one that shows up on the main index page. If there are no images associated with the post, I have a default image I want to have appear instead.&#60;/p&#62;
&#60;p&#62;I'm hacking around at this but not sure what I'm doing (other than occasionally having a syntax error that crashes the site :) ) so any help is appreciated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

