How do I resize the height/width of an image in ratio after upload !!
Posted on 2004-10-18
Im using the following control in asp.net to allow users to upload an image to the server::
<INPUT id="ctlLogoFile" type="file" name="Pic" runat="server" size="15">
I want to be able to take the image, resize it in ratio so it will fit within 200x200 bounds, then save it on the server as a file.
I have code to save the image to the server, just no code to resize image. Its similar to creating a thumbnail image, just making sure the height and width ratio stays in tact.
Help me! :o( i've bee trying to find a solution for this for weeks!!