Sometimes we may need to generate the thumbnail size of image dynamically. Suppose one situation:
We have a list view, which shows the uploaded documents, but you need to show the thumbnail size of the images for the image files. But there is one condition: The original image file should not get loaded, because that will make the page heavy.
So, We need to generate the Thumbnail size of image on the fly.
At this point Generic WebHandler will help us. How? Let see...
- Add one class file to your website. and implement IHttpHandler interface.
thumbnail image at runtime in ASP.NET.