Be the first to write a review
ASP.NET Image Gallery, Uploader & Thumbnailer Part 1
Working with images is a requirement of many applications, from business software to simple personal web pages. There are hundreds of different implementations of this feature, some good, others not so good. When using images in ASP.NET applications you have the added benefit of making things a little easier on yourself by using a more object oriented approach so that you can create components that you can reuse in other applications.
Depending on the requirements of your images module it may be necessary to look towards third party components. There is literally hundreds of ASP.NET third party controls which deal with imaging, image uploading and image manipulation. Before you implement a costly third party component it’s important to understand what you can and cannot do with the existing .NET framework.
The purpose of this article is to show 3 basic imaging techniques you can implement in your applications which all make use of the existing .NET framework classes. These three techniques are: uploading, thumbnailing, and dynamic display (gallery).
For this article we’ll build a simple demonstration ASP.NET application where you can upload an image into a specific folder on the web server, have that image automatically thumbnailed on the fly, and then have the image thumbnails rendered into an HTML dynamically. These are the basic building blocks of most applications utilizing images.
Note: Visual Studio.NET is required for this tutorial. Both VB.NET and C# code examples will be provided
Kevin Koch
Kevin Koch is a senior software engineer with over 8 years experience designing and architecting primarily web based applications. Fresh out of college during the nineties he co-founded Task Solutions and developed several projects with the then popular classic ASP.
During the Dot Com boom Kevin left his position as president and joined a new venture to build an enterprise insurance claim system build upon J2EE technology. After the Dot Com crash Kevin schooled himself to become an expert with .NET technology and is currently freelancing his ASP.NET skills to build enterprise n-tier frameworks using advanced OO methodologies.