Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Dec 2005
    Location
    United Kingdom
    Posts
    31
    Rep Power
    9
    Is there any way to use ShadowResizer to resize a picture from the clients machine and save the resized version on the server without having to upload the original version to the sever?

    Thanks
    James
  2. #17
  3. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,135
    Rep Power
    2921
  4. #18
  5. Shemzilla
    ASP Scholar (3000 - 3499 posts)

    Join Date
    Aug 2005
    Location
    Table View, Cape Town, S.A
    Posts
    3,397
    Rep Power
    557
    so how does this work?

    do i have to upload an image first and then run this to resize and
    save the image?
    Or does this upload the image and then resize and save the thumbnail?

    Shem
    Everyone has a photographic memory. Some don't have film.
    I am a nobody, nobody is perfect, therefore I am perfect.

  6. #19
  7. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,135
    Rep Power
    2921
    yes you have to first upload the image then use the code
    I provided in this thread to resize it.
    edit: you better use the .NET approach, this one requires
    executing EXE file and most hosts won't allow it.
  8. #20
  9. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Save the resized file


    Hi ShadowWizard,

    first of all I would like to thank you for your script. My English is horribly, but I hope we can talk together...

    Up to know I am using ASP Classic, so I have no knowledge in asp.net. Your code works fine on my homeserver. But I would like to save the resized image in my database. How can I do this. I have got no access to the ShadowResizer.exe-File up to know in order to change the code for this use...

    Thanks a lot for your early reply and have a nice time.

    Best regards
    Gregor Ganz from Germany
  10. #21
  11. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,135
    Rep Power
    2921
    hi Gregor, in order to save something in database you don't have to
    change my EXE file, you need to do that in your ASP code.

    personally, I do not recommend storing whole files as binary data in
    database, I would much prefer to have the files on the server disk
    and store only the path of those files. it saves lots of headache.

    so, to store something in database use ADODB.Connection to connect
    with the database, then have SQL statement in order to insert new
    record with the data you want, using the Execute method.

    if you insist on storing the file as-is inside database, you'll have to
    use ADODB.Recordset for this and its AppendChunk method.
  12. #22
  13. No Profile Picture
    Contributing User
    ASP Discoverer (100 - 499 posts)

    Join Date
    May 2005
    Posts
    343
    Rep Power
    40
    Thanks man.. it is a great solution. Congrats
    Last edited by Khrysller; May 20th, 2010 at 11:31 AM.
  14. #23
  15. No Profile Picture
    Contributing User
    ASP Discoverer (100 - 499 posts)

    Join Date
    Nov 2003
    Posts
    111
    Rep Power
    11
    Is there anyway to use this on a hosted server where I don't have permission to run this?
  16. #24
  17. Moderator From Beyond
    ASP Mastermind (5000+ posts)

    Join Date
    Sep 2004
    Location
    Israel
    Posts
    31,135
    Rep Power
    2921
    Originally Posted by esthera
    Is there anyway to use this on a hosted server where I don't have permission to run this?
    No, unless you're skilled hacker but I won't assist in hacking web host sorry.

    Anyway if your host also support ASP.NET you should be able to use this newer version:
    http://forums.aspfree.com/code-bank-...ly-135703.html
Page 2 of 2 First 12
  • Jump to page:

Similar Threads

  1. javascript to resize background image to suit all screen reasalutions
    By sk8ter04 in forum HTML, JavaScript And CSS Help
    Replies: 4
    Last Post: November 6th, 2007, 02:21 AM
  2. vb: image resizing from stream to SQL Server
    By timandkids in forum .NET Development
    Replies: 0
    Last Post: November 10th, 2004, 11:54 AM
  3. Howto resize with stretch and save an image in jpg format?
    By zwonimir in forum Visual Basic Programming
    Replies: 3
    Last Post: August 24th, 2004, 06:08 AM
  4. resize external image.
    By telnoi in forum .NET Development
    Replies: 2
    Last Post: July 27th, 2004, 04:40 PM
  5. Image Resize Problem
    By adathelad in forum .NET Development
    Replies: 0
    Last Post: February 4th, 2004, 04:02 AM

IMN logo majestic logo threadwatch logo seochat tools logo