Author: cookie_powered | Posted on: 10/8/2010 10:45:15 AM | Views : 301

Hi guys,
 
I'm trying to dynamically load an image from my code behind file,  however I want to be able to resize the image thus reducing the file size sent to the client.  I've come across a few samples but without much luck.  So far I have the following:
Dim MyImage As Image MyImage = Image.FromFile("d:\flowers.jpg") MyImage = MyImage.GetThumbnailImage(100, 100, Nothing, New IntPtr)
 
Unfortunately I now need to load this image into control panel.but nowhere can I find how to do this.
asp.net vb
...

Go to the complete details ...