locked
Resizing images RRS feed

  • Question

  • User-830131302 posted

    hi I need to resize the image before it gets to the server.

    I use the asp.net upload control.

    with a GUID value that allocates a ID to the image, this is important as this Value is also stored in the DB.

    I did google but the looked realy confusing.

    regards

    G

     

     

    Tuesday, August 5, 2008 3:08 AM

Answers

  • User1444272184 posted

    Hi,

    Please refer the same post of this forum.

    http://forums.asp.net/p/1208353/2145803.aspx 

    Thanks 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 5, 2008 5:16 AM

All replies

  • User88235362 posted
    I don't think there's any way of resizing your image before it gets to the server unless you can use some Java app hosted in your web page to resize it client side before the upload. The common solution is to upload the image to the server, resize it there then delete the original if it's no longer needed.

    There's some library functionality to resize uploaded images in the code that compliments this article - http://www.codeproject.com/KB/web-image/colorwash.aspx - feel free to download it and use it for your requirements.

    Hope this help ;)

    Tuesday, August 5, 2008 5:03 AM
  • User1444272184 posted

    Hi,

    Please refer the same post of this forum.

    http://forums.asp.net/p/1208353/2145803.aspx 

    Thanks 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 5, 2008 5:16 AM