<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx</link><description>In June, Dmitry posted a very simple photo album on his blog . I immediately liked it because it's both easy to set-up (just drop the ashx file into your web site's photo directory) and to manage (no need to upload images one by one using a clumsy web</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7256680</link><pubDate>Mon, 16 Nov 2009 14:42:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7256680</guid><dc:creator>someguy</dc:creator><author>someguy</author><description>&lt;p&gt;Not sure if this has been answered, but a find/replace to replace &amp;quot;.jpg&amp;quot; with &amp;quot;.png&amp;quot; enabled support for png&amp;#39;s. So yeah, that can be done.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7256680" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7248734</link><pubDate>Sat, 07 Nov 2009 06:25:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7248734</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@Sayed Mohamed: I really think that is the problem. Are you sure the bin directory is directly under a directory that is configured in IIS to be an application?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7248734" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7248729</link><pubDate>Sat, 07 Nov 2009 06:04:43 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7248729</guid><dc:creator>sayed_mohamed_Darwish</dc:creator><author>sayed_mohamed_Darwish</author><description>&lt;p&gt;&amp;quot;CS0246: The type or namespace name &amp;#39;com&amp;#39; could not be found&amp;quot;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure that the MetaDataExtractor.dll is loaded to the Bin directory .&lt;/p&gt;
&lt;p&gt;What is the problem ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7248729" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7242654</link><pubDate>Thu, 29 Oct 2009 17:58:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7242654</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@noonway: well, that's not a scenario I had in mind. There is a new version on the way though and I can try to see what I can do, but I can make no promises about when that's going to be out.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7242654" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7242651</link><pubDate>Thu, 29 Oct 2009 17:56:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7242651</guid><dc:creator>noonway</dc:creator><author>noonway</author><description>&lt;p&gt;@Bertrand: But if I point both controls at the same URL I get the full Gallery list instead of just a particular gallery.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m trying to do is build a menu called Gallery that shows all the sub-galleries on one .aspx page but then if the user selects a particular Gallery from the menu it would only show that secondary gallery and not the main or tertiary galleries. &amp;nbsp;I could probably recode the handler to take an argument with the directory I want to show, but I don&amp;#39;t really have the time to delve that deeply into the code.&lt;/p&gt;
&lt;p&gt;Oh well, I guess I&amp;#39;ll just use the single gallery and let the users select which sub-gallery they want to use directly from the main.aspx.&lt;/p&gt;
&lt;p&gt;Great work here, by the way. &amp;nbsp;I never would have thought to use caching the way you did and appreciate the tutorial. &amp;nbsp;:)&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7242651" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7242647</link><pubDate>Thu, 29 Oct 2009 17:42:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7242647</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@noonway: right, Web Application Projects are not something I've considered. On the other hand, if you're using it as a control, I'm not sure you need two copies. Pointing both controls to the same url should in principle work.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7242647" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7242471</link><pubDate>Thu, 29 Oct 2009 14:04:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7242471</guid><dc:creator>noonway</dc:creator><author>noonway</author><description>&lt;p&gt;@Bertrand: You were telling Russ...&lt;/p&gt;
&lt;p&gt;@Russ: why don&amp;#39;t you put a handler.ashx in each of the image directories?&lt;/p&gt;
&lt;p&gt;I am attempting to do this - using as a user control - with the following Directory Structure:&lt;/p&gt;
&lt;p&gt;Main Photos (album.ashx here, main.aspx with the @register src of ~/Main Photos/album.ashx, secondary.aspx with the @register src of ~/Main Photos/Secondary Photos/album.ashx, and tertiary.aspx with the @register src of ~/Main Photos/album.ashx)&lt;/p&gt;
&lt;p&gt;|&lt;/p&gt;
&lt;p&gt;|__ Secondary Photos (album.ashx - HandlerUrl changed to ~/Main Photos/Secondary Photos/album.ashx)&lt;/p&gt;
&lt;p&gt;|&lt;/p&gt;
&lt;p&gt;|__ Tertiary Photos (album.ashx - HandlerUrl changed to ~/Main Photos/Tertiary Photos/album.ashx)&lt;/p&gt;
&lt;p&gt;But when I drop the handler in the subdirectories, modify the HandlerUrl and compile the code I get the following errors in each of my .aspx pages as well as the compiled DLLs. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error	38	The type &amp;#39;Bleroy.Photo.Album&amp;#39; exists in both &amp;#39;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\photos\d81285ef\ee16f919\App_Web_lsjmicgf.dll&amp;#39; and &amp;#39;c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\photos\d81285ef\ee16f919\App_Web_plpl094z.dll&amp;#39;	c:\Projects\company\main.aspx	10	&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve never used .ashx files before so I feel like I may be missing something easy here... I tried renaming the namespaces to no avail. &amp;nbsp;Any other suggestions?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7242471" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7229073</link><pubDate>Tue, 13 Oct 2009 20:53:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7229073</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@Justin: you need to copy the dll that comes with the release into the bin folder of the application.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7229073" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7229010</link><pubDate>Tue, 13 Oct 2009 18:38:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7229010</guid><dc:creator>Justin</dc:creator><author>Justin</author><description>&lt;p&gt;Hi, I have build a website with asp.net and would like to implement this album in it... I tried to add the ablum files (templated.aspx etcc files) by using the add existing item in the visual studio but when i build the solution it give me an error something about metadata... &amp;quot;com&amp;quot; missing. can someone please help me solve this problem? as i&amp;#39;m not a pro in asp.net&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7229010" width="1" height="1"&gt;</description></item><item><title>re: A simple ASP.NET photo album</title><link>http://weblogs.asp.net/bleroy/archive/2005/09/08/a-simple-asp-net-photo-album.aspx#7208303</link><pubDate>Wed, 16 Sep 2009 16:43:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7208303</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@shaolin77: yes.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7208303" width="1" height="1"&gt;</description></item></channel></rss>