Topic: thumbnails

Hello, I'm Fernando from Argentina. I'm trying to set up Plupload correctly in my project, It's working perfect but i have a question about resizing.
Is there a way that I can upload a picture and plupload save 2 copies in different size??
Like this:

Original File uploaded: TEST.JPG 2048x1536px

Results in:

1- TEST.JPG 1024x768px
2- TEST_THUMB.JPG 320x240px

Please please tell me it's possible!!

Thanks in advance and congrats for a super uploader!

Re: thumbnails

you can resize on upload to 1024x768 and then serserside resize and save the thumnail at 320x240.

if you do it client side that would be slower, 'cos you'll have to upload 2 files

Re: thumbnails

Thank you Marian for your fast reply. I know that, but I have almost no control over the development server and something I didn't mentioned in the last post is thay my integration is in ASP 3.0. That's why i'm using a flash/javascript system and not depending on an ASP server-side component.
So I really need to do it client-side.
It's possible to do what you said? about the client-side double resizing and double uploading the file?

Thanks again!!


Fernando.

4 (edited by marian 2010-03-26 23:16:32)

Re: thumbnails

I'm not sure,
becouse you need to trigger twice the upload of the same file and I think the browser security would not let you do that...but I'm not sure

In theory you can do it...but you'll need to change the runtimes for what you need, and that's no easy task sad

If I were you I would try to do it serverside somehow...you (or someone else) still needs to manage the uploaded files on the server right?
You can try to reinvent the weel...or do it serverside in 10 min.

Re: thumbnails

Marian, I know it's a lot easier doing it server-side.
I'll try to do that.

Thanks again for your help.

Fernando.

Re: thumbnails

Marian,

I am also trying to implement plupload in an ASP environment. I was wondering of you found a solution for your server side image handling?

Steve

Re: thumbnails

Steve, I was also trying to do it un pure classic ASP, finally decided to talk to the server company to allow me some resizing component I found on the web, actually it's a exe file and it works perfect!

if you want it I can post a link to the file and also the code I used to make it work.

Bye!

Re: thumbnails

Fernando,

Absolutely I'd really appreciate it if you could give me the details!

I'd rather use a simple .exe than instal PHP just for this one purpose.

Thanks in advance,

Steve

Re: thumbnails

Steve, the component it's called "Shadow Resizer" all you have to do it's explained in the following link. The "only" thing you should note is that you have to give permission to "execute" programs under the iis configuration to the folder you have the ".exe" If you have problems with the script tell me and I post my working code, but I thought the developers "generic" code will be better.

Don't forget to tell us if it worked for you.

Bye.

Re: thumbnails

mastermedia wrote:

Steve, the component it's called "Shadow Resizer" all you have to do it's explained in the following link. The "only" thing you should note is that you have to give permission to "execute" programs under the iis configuration to the folder you have the ".exe" If you have problems with the script tell me and I post my working code, but I thought the developers "generic" code will be better.

Don't forget to tell us if it worked for you.

Bye.

PS. I forgot the link

http://forums.aspfree.com/code-bank-54/ … 99191.html

Re: thumbnails

Fernando,

Thanks for "Shadow Resizer" recommendation I actually have Persits ASP-JPEG component on the server so I'm planning to handle image resizing with that. But if that doesn't cut it then I'll use "Shadow Resizer".

Where I am stuck however is saving the uploaded files to the servers HDD so I can open it with these components. Could you help me ?

Steve

Re: thumbnails

Steve, I really can't help you with that part because I was in the same problem as you are but my server can also handle php so the upload part i used the php script of plupload. I hope you can get something in asp.

If you can solve it please tell me how because I would love to have all this working in asp and not mixing it with php.

Thanks.

Fernando

Re: thumbnails

Fernando, thanks for letting me know, I'll keep at it but I may have to install php on the server at this point. Any insights I learn I'll be sure to pass along.

Best,

Steve