Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2003
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Image Resizing in .NET

    I want to create a gallery that my users can upload images into and I can then resize the images on the fly to create thumbnails and half size images or even to create them after uploading.

    My host doesn't and wont support AspJpeg but have told me I can do this using .NET, since I have no idea when it comes to .NET I was wondering a few more things.

    1. Is it possible to leave my site in ASP classic and just call the .NET upload script to resize and rename the files and then redirect the user to a "Success" page?

    2. Is it better to create the thumbnails on the fly or make them once and save the filenames to a db?

    Any tips on how I would go about doing this would be appreciated aswell.

    Thanks

    -r0ck1t-

    Edit: I know there are a few examples and pre-made scripts but I don't understand what the hell they are talking about, and they usually just show thumbnails from a dir, I want to be able to select specific groups of images from my db and show only those thumbnails etc.
    Last edited by r0ck1t; 11-24-2003 at 08:51 AM.

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    yes yes yes

    it is very easy to generae Thumnail on the fly with .NET, you can store them into a database or in a special folder, you can alsoi generate them only when needed and not store them

    of course you can use only one page to resize your picture and come back to a classical asp page

    you can find easily example every where and use them without nearlly knowing nothing in .NET

    you could also use a web service to do that job ... I don't know where to find one, and too lasy to do it :-)))

  • #3
    New Coder
    Join Date
    Nov 2003
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Really what I want is a form that a user enters a title and description of the image and selects the file for upload, then the title and desc are inserted into the database along with a unique file name, say username_datetime, and the image is stored on the disk.

    Later I can use

    <img src="image_show.aspx?ID=43&width=100&height=75">

    to display the image and image_show.aspx will resize the image.
    Last edited by r0ck1t; 11-25-2003 at 10:52 AM.


  •  

    Posting Permissions

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