Posts

Showing posts from February 19, 2013

Image resizing in asp.net

Introduction :-             This tutorial will show you how to generate image thumbnails dynamically from an original big image. Background :-             Many of the web developers will show the big images as small by giving the attribute values for the image tag.  This will slow down the webpage loading.  For better performance the best method is creating the small thumbnail images for showing small size image on the web pages.  But for every upload of the images by the user we cannot create a thumbnail image, it’s a tedious process.  I planed to create a method which will create a thumbnail automatically while the image upload and saves in a separate path.  This is a light weight process and easy to use.  The only thing is you have to add one more filed for saving the thumbnail image path while dealing with databases. Following are the features of this technique. Good Quality. Desired thumbnail size. Using the code :-             Below is the method which