Results 1 to 4 of 4

Thread: asp.net image upload

  1. #1
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    206
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default asp.net image upload

    i'm not after a wysiwyg image editor. i simply want to be able to resize uploaded images with the code to a fixed size / proportion with asp.net.

    much like jpeg upload use to work on asp.

    any tutorials? pointers?

    cheers.

  2. #2
    Join Date
    Sep 2006
    Posts
    210
    Thanks
    1
    Thanked 6 Times in 6 Posts

    Default

    I have some code in VB flavor that will resize an image dynamicly, before it is diplayed, this means I only have to have one imgae of and change the size as require when I use i,

    Not sure thats what u are asking for tho

  3. #3
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    206
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    it's an idea, might use that for something else!

    but i want to be able to limit the size of the upload in the first place - example, if someone uploads a 3mb file 3000x2000px, i want to be able to reduce it to 600x800 and make sure the file size is under 500kb. etc etc. much like persists jpeg upload for asp, the user sees nothing but the file is reduced and resized.

    searched until the ends of the earth last night, and found nothing... this morning, one search... found this
    http://forums.asp.net/2/1266016/ShowThread.aspx. damn.

  4. #4
    Join Date
    Jun 2005
    Posts
    1,081
    Thanks
    4
    Thanked 15 Times in 15 Posts

    Default

    Here are some links I found (only spent a bout 30 secs):

    http://aspnet.4guysfromrolla.com/articles/012203-1.aspx

    http://www.codeproject.com/aspnet/pnguploader.asp

    http://www.stardeveloper.com/article...3040501&page=1

    You should also be warned that it is not wise to allow a user to upload a full 4Mb image if you intend to convert this into something under 500Kb. Since the any upload processor you write in ASP.Net will work on the server and hence the user will have to transfer the whole file before you process it.

    Sol.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. File Upload using ASP.NET
    By garazy in forum ASP.NET
    Replies: 8
    Last Post: 24th August 2006, 10:47 PM
  2. ASP.NET book
    By creativeworks in forum ASP.NET
    Replies: 4
    Last Post: 7th February 2006, 02:28 PM
  3. ASP.net 2.0
    By JohnnyW in forum Sales and Service Feature Enquiries
    Replies: 17
    Last Post: 8th November 2005, 01:01 PM
  4. ASP Upload Config
    By Richard Murrant in forum ASP (VBScript)
    Replies: 3
    Last Post: 5th July 2005, 05:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •