Page 1 of 1

i18n.properties modify

Posted: Thu Apr 02, 2009 4:04 pm
by exeicom
Hi, I need to view the window file chooser instead of drag and drop.
I've modified some parameters on i18n file but the window applet doesn't change....
How can I do to view the window file chooser ?
Regards

Exeicom

Re: i18n.properties modify

Posted: Thu Apr 02, 2009 7:28 pm
by support
You want to display "file" menu to allow displaying file chooser, correct ?
Just add the following parameter in the JavaScript:
<PARAM NAME="hidebar" VALUE="false">

Re: i18n.properties modify

Posted: Fri Apr 03, 2009 7:47 am
by exeicom
Hi, thanks... now the file choser is visible.
The last my problem is to apply the filters.
I need to create 3 different pictures (max with 80,max height 120 for the first picture, maxwidth 150,maxheight 200 for the second and maxwidth400,maxheight 500 for the last picture).
How can I apply this filter ?
How can I view the rotate button ?
How can I apply to the pictures the watermark in diagonal ?
If I solve this problems, I buy the 3 products now.....

Is there a complete manual for this applications ?

Thanks and regards
Exeicom

Re: i18n.properties modify

Posted: Sat Apr 04, 2009 8:51 am
by support
Question1: Generate 3 thumbnails to upload with different dimensions.
See the following tutorial and you should be able to define several filters:
http://www.jfileupload.com/products/jim ... nails.html
You need to install JImageFilter over JImageUpload. The 3 thumbnails will be generated locally and uploaded. They won't be displayed on applet.

Question2: Enable rotate button in JImageUpload:
Install JImageFilter first (you should have done it in question 1) and uncomment the following lines in i18n_pane.properties:
#preview.image.rotation.impl=jfileupload.upload.client.filter.ImageFilter
#preview.image.rotateicon=jfileupload/transfer/client/preview/rotate.png
#preview.image.rotatelefticon=jfileupload/transfer/client/preview/rotateleft.png
#preview.upload.rotation.started=Image rotation started ({0}), please wait ...
#preview.upload.rotation.completed=Image rotation completed ({0})
#preview.upload.rotation.failed=Image rotation failed: {0}


Question3: Watermark
First draw your watermark image with text in diagonal with any imaging tool (photoshop) and save is as PNG with transparent background.
Second, copy yourwatermark.png in the same folder as HTML/Javascript of the applet.
Finally, declare your watermark image in scaling.properties files (you may have several because of question1):
watermark=yourwatermark.png
watermarklocation=center


Does it help ?