Author: s2002 | Posted on: 3/13/2010 7:11:42 AM | Views : 409

hi,
I need to generate thumbnail for image dynamically and use it in this style
<img src='<% createthumbnail(Eval("Imageurk") %>' />
I could use these codes to generate thumbnail.
imageUrl = "/images/St/Sample.png"  
    Dim fullSizeImg as System.Drawing.Image
    fullSizeImg = System.Drawing.Image.FromFile(Server.MapPath(imageUrl))
    Response.ContentType = "image/gif"
    fullSizeImg.Save(Response.OutputStream, ImageFormat.Gif)
 
Now how could I declare function that get image url and return thumbnail for input image to use it for above style.
 
 
 
 
 
 
...

Go to the complete details ...