<?xml version="1.0" encoding="UTF-8"?><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>Comments on: Silverlight 3 Photo Gallery Wall Application</title>
	<atom:link href="http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/</link>
	<description>Silverlight... you're soaking in it.</description>
	<pubDate>Sun, 14 Mar 2010 10:12:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Chris</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-2076</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 17 Feb 2010 01:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-2076</guid>
		<description>I like the photo viewer and have implemented it in our church's website. I like having the XML file so pics can be changed independently of the application.

There was one bug I found:
If you click the last picture (element 15) and then click on the pic on the right side to "enlarge" it and wait for a short time, the "enlarged" pic shoud advance. However, since it is the last pic it should go to the beginning. Instead, it adds 1 to the index and tries to access the next image (element 16) which, of course, doesn't exist and throws an index out of bounds exception that goes unhandled.

Here's a quick fix:
In MainPage.xaml.cs file in the SlideshowRestartTimer_Completed() method, apply the following:
if (CurrentImage &#62; 15)
   CurrentImage = 0;
This should go immediately after the line:
CurrentImage = i + 1;

Hope this makes sense to all.

Peace.</description>
		<content:encoded><![CDATA[<p>I like the photo viewer and have implemented it in our church&#8217;s website. I like having the XML file so pics can be changed independently of the application.</p>
<p>There was one bug I found:<br />
If you click the last picture (element 15) and then click on the pic on the right side to &#8220;enlarge&#8221; it and wait for a short time, the &#8220;enlarged&#8221; pic shoud advance. However, since it is the last pic it should go to the beginning. Instead, it adds 1 to the index and tries to access the next image (element 16) which, of course, doesn&#8217;t exist and throws an index out of bounds exception that goes unhandled.</p>
<p>Here&#8217;s a quick fix:<br />
In MainPage.xaml.cs file in the SlideshowRestartTimer_Completed() method, apply the following:<br />
if (CurrentImage &gt; 15)<br />
   CurrentImage = 0;<br />
This should go immediately after the line:<br />
CurrentImage = i + 1;</p>
<p>Hope this makes sense to all.</p>
<p>Peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-2038</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Tue, 26 Jan 2010 11:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-2038</guid>
		<description>Hi,
I have silverlight 3 installed and i am able to see only a blank page with black background. i have downloaded the code as well and when i run it it also shows the same black blank page.

please help..

Robin</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have silverlight 3 installed and i am able to see only a blank page with black background. i have downloaded the code as well and when i run it it also shows the same black blank page.</p>
<p>please help..</p>
<p>Robin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some silverlight 2 tutorials &#171; C# lovers Blog</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-2015</link>
		<dc:creator>Some silverlight 2 tutorials &#171; C# lovers Blog</dc:creator>
		<pubDate>Fri, 15 Jan 2010 05:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-2015</guid>
		<description>[...] Silverlight 3 Photo Gallery Wall Application [...]</description>
		<content:encoded><![CDATA[<p>[...] Silverlight 3 Photo Gallery Wall Application [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ceyhun Ciper</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1962</link>
		<dc:creator>Ceyhun Ciper</dc:creator>
		<pubDate>Fri, 18 Dec 2009 06:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1962</guid>
		<description>Typo: "How for did he go..." -&#62; "How far did he go..."

Sorry,
Ciper</description>
		<content:encoded><![CDATA[<p>Typo: &#8220;How for did he go&#8230;&#8221; -&gt; &#8220;How far did he go&#8230;&#8221;</p>
<p>Sorry,<br />
Ciper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ceyhun Ciper</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1961</link>
		<dc:creator>Ceyhun Ciper</dc:creator>
		<pubDate>Fri, 18 Dec 2009 05:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1961</guid>
		<description>Great &#38; deep content; thank you very much for this eye-opener (in both(!?) senses).

I have a question for the other Jeff (Garrison): How for did he go adding more features? Can he be contacted?

Thanks,
Ciper</description>
		<content:encoded><![CDATA[<p>Great &amp; deep content; thank you very much for this eye-opener (in both(!?) senses).</p>
<p>I have a question for the other Jeff (Garrison): How for did he go adding more features? Can he be contacted?</p>
<p>Thanks,<br />
Ciper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3D Photo Gallery &#124; Silverlike - A Free Microsoft Silverlight 3 Directory</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1952</link>
		<dc:creator>3D Photo Gallery &#124; Silverlike - A Free Microsoft Silverlight 3 Directory</dc:creator>
		<pubDate>Tue, 24 Nov 2009 07:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1952</guid>
		<description>[...] impressive Photo Gallery application created by Jeff. He also shared all the difficulties when implementing this [...]</description>
		<content:encoded><![CDATA[<p>[...] impressive Photo Gallery application created by Jeff. He also shared all the difficulties when implementing this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryian tan</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1950</link>
		<dc:creator>bryian tan</dc:creator>
		<pubDate>Sat, 21 Nov 2009 02:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1950</guid>
		<description>All I see was a blank screen in Firefox 3.5.</description>
		<content:encoded><![CDATA[<p>All I see was a blank screen in Firefox 3.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1944</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Wed, 04 Nov 2009 13:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1944</guid>
		<description>I have SL3 installed but could not get the "here" link working - it simply shows blank screen (as pascal said above); I will try to get it compiled and hosted locally to check its functionality. Thanks for the post. Will get back to you soon.</description>
		<content:encoded><![CDATA[<p>I have SL3 installed but could not get the &#8220;here&#8221; link working - it simply shows blank screen (as pascal said above); I will try to get it compiled and hosted locally to check its functionality. Thanks for the post. Will get back to you soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeff</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1911</link>
		<dc:creator>jeff</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1911</guid>
		<description>Hi Trevor - I don't think I recompiled this one for the final release, so that may be why.... Email me directly if you continue to have issues.</description>
		<content:encoded><![CDATA[<p>Hi Trevor - I don&#8217;t think I recompiled this one for the final release, so that may be why&#8230;. Email me directly if you continue to have issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://designwithsilverlight.com/2009/03/31/silverlight-3-photo-gallery-wall-application/#comment-1910</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 28 Aug 2009 03:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://designwithsilverlight.com/?p=162#comment-1910</guid>
		<description>I have Silverlight 3 installed, but I just get a blank black screen when I open the SL3 page. I'm going to download the code and take a look. 

In any event, thanks for the starting point. I've wanted to get into the whole Silverlight / WPF arena for a while and have been a little confused. I haven't dev'd in a few years and it was Java before that, so I'm hoping this will be the springboard I need :)</description>
		<content:encoded><![CDATA[<p>I have Silverlight 3 installed, but I just get a blank black screen when I open the SL3 page. I&#8217;m going to download the code and take a look. </p>
<p>In any event, thanks for the starting point. I&#8217;ve wanted to get into the whole Silverlight / WPF arena for a while and have been a little confused. I haven&#8217;t dev&#8217;d in a few years and it was Java before that, so I&#8217;m hoping this will be the springboard I need <img src='http://designwithsilverlight.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
