Last post Sep 13, 2010 03:53 AM by Qin Dian Tang - MSFT
Sep 09, 2010 03:41 AM|Pooleo|LINK
Im trying to create a function for my website that allows the re-sizing of images for different purposes. I want the function to use variables for image height and image width, and obviously for the file itself. I have working test code for re-sizing a selected
image that is hard-coded into the function. I have created it in a separate class in my App_Code folder, and have tried calling it on web pages and it works until I try and pass a filename as a variable, encountering a variety of errors. Should I be using
a server control/user control to do this? or do I need something else?
Sep 13, 2010 03:53 AM|Qin Dian Tang - MSFT|LINK
Here are some samples about resizing images. You can refer the way to write own class or custom control to do the same thing in it: