<?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: Thumbnail without showing photo in content area</title>
		<link>http://www.kriesi.at/support/topic/thumbnail-without-showing-photo-in-content-area</link>
		<description>Support Forum - Topic: Thumbnail without showing photo in content area</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 08:45:22 +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/thumbnail-without-showing-photo-in-content-area" rel="self" type="application/rss+xml" />

		<item>
			<title>craigmische on "Thumbnail without showing photo in content area"</title>
			<link>http://www.kriesi.at/support/topic/thumbnail-without-showing-photo-in-content-area#post-37918</link>
			<pubDate>Tue, 17 Jan 2012 13:46:16 +0000</pubDate>
			<dc:creator>craigmische</dc:creator>
			<guid isPermaLink="false">37918@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks ptvguy. That is a good solution!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ptvguy on "Thumbnail without showing photo in content area"</title>
			<link>http://www.kriesi.at/support/topic/thumbnail-without-showing-photo-in-content-area#post-37879</link>
			<pubDate>Tue, 17 Jan 2012 05:10:49 +0000</pubDate>
			<dc:creator>ptvguy</dc:creator>
			<guid isPermaLink="false">37879@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;This is the second time I've heard someone asking about this same problem in the last few days.  Then I checked my search results and discovered the same blank SPANs on the left with no images, and I didn't like it either.  My solution, for what it's worth, was to create a 48x48 pixel image--&#60;a href=&#34;http://wwwtest.soptv.org/?s=anne+frank&#34;&#62;I used a stylized version of the station logo&#60;/a&#62;--to use as a default fallback for when there are no images. Personally, I think that this is an option that should be added to the Avia framework.  Anyway, here's how I did it:&#60;/p&#62;
&#60;p&#62;Open the loop-search.php file in the BroadScope includes folder and find the following code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( is_array($slides) &#38;amp;&#38;amp; !empty( $slides[0][&#38;#39;slideshow_image&#38;#39;] ) )
{
	$image = avia_image_by_id($slides[0][&#38;#39;slideshow_image&#38;#39;], &#38;#39;widget&#38;#39;, &#38;#39;image&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Add this code right below it:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;else
{
	$image = &#38;#39;&#38;lt;img src=&#38;quot;http://www.example.com/wp-content/uploads/default.jpg&#38;quot; width=&#38;quot;48&#38;quot; height=&#38;quot;48&#38;quot; alt=&#38;quot;Insert appropriate ALT text.&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The result will look something like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( is_array($slides) &#38;amp;&#38;amp; !empty( $slides[0][&#38;#39;slideshow_image&#38;#39;] ) )
{
	$image = avia_image_by_id($slides[0][&#38;#39;slideshow_image&#38;#39;], &#38;#39;widget&#38;#39;, &#38;#39;image&#38;#39;);
}
else
{
	$image = &#38;#39;&#38;lt;img src=&#38;quot;http://www.example.com/path/to/image/default.jpg&#38;quot; width=&#38;quot;48&#38;quot; height=&#38;quot;48&#38;quot; alt=&#38;quot;Insert appropriate ALT text.&#38;quot; /&#38;gt;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Be sure to replace the image URL, path, and name along with the ALT text to work for your image. You might want to change the same code in the class-framework-widgets.php file in the framework/php folder as well.  Hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>craigmische on "Thumbnail without showing photo in content area"</title>
			<link>http://www.kriesi.at/support/topic/thumbnail-without-showing-photo-in-content-area#post-37832</link>
			<pubDate>Mon, 16 Jan 2012 17:00:49 +0000</pubDate>
			<dc:creator>craigmische</dc:creator>
			<guid isPermaLink="false">37832@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I use the Broadscope theme and my pages contain code for a feed that displays content so I don't add featured images as I don't want them in the page. The problem is the pages can be found in search results on my site but there is an empty thumbnail that appears in the results listing. Is it possible to designate a thumbnail for a page if there are no images used in the content area?&#60;/p&#62;
&#60;p&#62;Thank you for the excellent support provided on this site.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
