October 24th, 2006, 03:43 AM
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?
October 24th, 2006, 04:33 AM
nope. you'll have to build activeX object for this.
July 19th, 2007, 03:06 AM
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?
Everyone has a photographic memory. Some don't have film.
I am a nobody, nobody is perfect, therefore I am perfect.
July 19th, 2007, 03:32 AM
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.
January 6th, 2008, 03:43 PM
Save the resized file
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.
Gregor Ganz from Germany
January 7th, 2008, 04:08 AM
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.
Thanks man.. it is a great solution. Congrats
Last edited by Khrysller; May 20th, 2010 at 11:31 AM.
June 24th, 2011, 06:27 AM
Is there anyway to use this on a hosted server where I don't have permission to run this?
June 26th, 2011, 01:51 AM