Thumbnails to subfolder

Image scaler add-on.
Post Reply
moyersoen
Posts: 4
Joined: Thu Oct 29, 2009 6:27 am

Thumbnails to subfolder

Post 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

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Thumbnails to subfolder

Post 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">

moyersoen
Posts: 4
Joined: Thu Oct 29, 2009 6:27 am

Re: Thumbnails to subfolder

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Thumbnails to subfolder

Post 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 ?

moyersoen
Posts: 4
Joined: Thu Oct 29, 2009 6:27 am

Re: Thumbnails to subfolder

Post 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

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Thumbnails to subfolder

Post by support »

Ok, I understand now. I will see if a solution can be found before official 2.5.

moyersoen
Posts: 4
Joined: Thu Oct 29, 2009 6:27 am

Re: Thumbnails to subfolder

Post by moyersoen »

Thanks. In case you find something please send me an email notification.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Thumbnails to subfolder

Post by support »

It requires a customization if you need this feature implemented in JImageFilter.

Post Reply