is there a simple way to create a thumbnail image on fly..like when user uploads the picture and saves it to some directory...i wud like to save small size version of that image(say may be not more then 60kb-100kb)..i am limiting the image size to not more
then 2 mb/image by changing to web config file.i was gonna show those thumbnail image on grid view and when user clicks then original .bigger image shows up.suggestion?
Member
86 Points
719 Posts
thumbnail image
Jun 20, 2008 01:59 AM|nb123|LINK
is there a simple way to create a thumbnail image on fly..like when user uploads the picture and saves it to some directory...i wud like to save small size version of that image(say may be not more then 60kb-100kb)..i am limiting the image size to not more then 2 mb/image by changing to web config file.i was gonna show those thumbnail image on grid view and when user clicks then original .bigger image shows up.suggestion?
Contributor
5220 Points
1279 Posts
Re: thumbnail image
Jun 20, 2008 04:20 AM|MelvynHarbour|LINK
http://www.thebrainparasite.com/post/Creating-great-thumbnails-in-ASPNET.aspx
Member
60 Points
52 Posts
Re: thumbnail image
Oct 06, 2008 04:50 PM|nathanaeljones|LINK
nathanaeljones.com - ASP.NET
Star
8101 Points
2000 Posts
ASPInsiders
MVP
Re: thumbnail image
Oct 06, 2008 05:04 PM|docluv|LINK
Check out my eBook on WROX on httpHandlers, there is a demo in the code (which you can download) that resizes or crops an image on the fly.
http://www.wrox.com/WileyCDA/WroxTitle/Leveraging-httpHandlers-to-Stream-Custom-Content-in-ASP-NET.productCd-0470379405.html
I also posted some code I have been using for a long time to resize images on CodePlex, http://www.codeplex.com/ExImageResizer
Progressive Web App Expert
https://love2dev.com
@ChrisLove