Page 1 of 1

Thumbnails to subfolder

Posted: Thu Oct 29, 2009 6:33 am
by moyersoen
Hi,

we plan to used JFileUpload & JImageFilter in one of our applications. One of the scenarios is that we have to be able to upload images to the server with max size 640 x 480 and to also generate thumbnails for them with max size 120x90 and place them in a "thumbs" subfolder. I saw that resizing is not an issue, but I am wondering if putting the thumbnails in the thumbs subfolder is possible with JFileUpload & JImageFilter.

Thanks,
Florin

Re: Thumbnails to subfolder

Posted: Thu Oct 29, 2009 7:24 am
by support
"thumbs" folder will be on server-side or on client-side ?
The applet is able to upload in any sub folder on server-side through "account" extra parameter:
<PARAM NAME="param4" VALUE="account">
<PARAM NAME="value4" VALUE="users/user1/thumbs">

Re: Thumbnails to subfolder

Posted: Fri Oct 30, 2009 10:57 am
by moyersoen
The "thumbs" folder has to be created on the server.
Here is my scenario:
I have on the client in a folder the following images: 1.jpg, 2.jpg ... n.jpg of different sizes higher than 640 x 480. I want to get these on the server in a specified folder,let's call it "/folder/on/server/" resized to max 640x480 and in a thumbs subfolder ("/folder/on/server/thumbs") to get the thumbnails of the images resized to max 120x90.

Re: Thumbnails to subfolder

Posted: Fri Oct 30, 2009 5:47 pm
by support
Ok, are you able to upload the 2 scaled images according to?
http://www.jfileupload.com/products/jim ... nails.html

The only problem is to move into a specific folder on server-side ?

Re: Thumbnails to subfolder

Posted: Fri Oct 30, 2009 8:38 pm
by moyersoen
Exactly and the other constraint I have is that the filename has to be preserved.
1.jpg has to get on the server as "/folder/on/server/1.jpg" & "/folder/on/server/thumbs/1.jpg"

Thanks for your prompt feedback

Re: Thumbnails to subfolder

Posted: Fri Oct 30, 2009 10:30 pm
by support
Ok, I understand now. I will see if a solution can be found before official 2.5.

Re: Thumbnails to subfolder

Posted: Tue Nov 03, 2009 5:21 am
by moyersoen
Thanks. In case you find something please send me an email notification.

Re: Thumbnails to subfolder

Posted: Sun Nov 08, 2009 2:14 pm
by support
It requires a customization if you need this feature implemented in JImageFilter.