I retired from personal blogging in July 2008 but you can find me over at blog.xero.com

Thumbnail Viewer
Posted by rod@drury.net.nz in Old-blog-archives at 8:42 pm on Saturday, 28 February 2004

I was delighted to find that fellow new Dad Robbie Morris put the source up for an ASP.Net Photo Album Application.

One of the unknown challenges I’ve run into is how to put all the pictures of him up on the web for my relatives that live so far way in the shortest amount of time possible.  So, I opted to write this little page in ASP.NET for use on my wife’s website that will go through a given folder and create a thumbnail version of every .jpg, .gif, and .bmp it finds (assuming the folder in the querystring parameter has write permissions granted to the IUSR_machinename account).  The page can also take another querystring parameter and use it to generate a nicely formatted HTML page and TABLE displaying the thumbnails with links to the original image.

I had to convert Robbie’s code from C# to VB.Net and added the ability to read a top level directory to see all the Albums underneath.

You can see it here.

I managed to get this going while George was sleeping so not bad for a few hours. 

Download the code here.

Trackback uri |

Comments(1)

    Comment by Axel at 4:29 am on 30 July 2008

    thank you:)