JS3Upload + JImageUpload + JImageFilter install

Amazon S3 upload add-on.

JS3Upload + JImageUpload + JImageFilter install

Postby fabian » Thu Sep 18, 2008 4:11 pm

Hi,

Do you have a sample implementation where JS3Upload + JImageUpload + JImageFilter is chained?

Kind regards

Tony
fabian
 
Posts: 13
Joined: Mon Sep 01, 2008 4:40 pm

Re: JS3Upload + JImageUpload + JImageFilter install

Postby support » Thu Sep 18, 2008 7:45 pm

Yes, here are instructions and samples to make JFileUpload + JImageFilter + JImageUpload + JS3Upload work together:

1 - Download JFileUpload
2 - Download JImageFilter
3 - Download JImageUpload
4 - Download JS3Upload

5 - Put all JARs from lib/ folders of JS3Upload, JImageUpload, JImageFilter under lib/ folder of JFileUpload. That's you have:
lib/chttpclient.jar
lib/clogging.jar
lib/httpimpl.jar
lib/ifilter.jar
lib/jfileupload.jar
lib/previewui.jar
lib/s3upload.jar
You can remove cnet.jar and ftpimpl.jar

6 - Put the following files in the parent folder of lib/
upload-image-scale-s3.zip
Sample HTML + JavaScript + .properties files
(6.83 KiB) Downloaded 827 times

It's a sample based on POST upload support for S3.

7 - Update all parameters where you have xxxxxxxxxx such as your s3bucket, s3policy ...
You can use the online S3 policy generator:
http://www.jfileupload.com/products/js3 ... rator.html

8 - Try it.
I've tested this sample with one of my S3 bucket and it works fine. I'm able to preview images in JImageUpload, then scale then through JImageFilter and finally upload to S3 bucket. See screenshot below:
s3upload.jpg
S3 upload with JImageUpload UI
(19.43 KiB) Downloaded 294 times


Please let me know if it helps.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: JS3Upload + JImageUpload + JImageFilter install

Postby fabian » Fri Sep 19, 2008 11:00 am

hi,

Thank you :-) I will play around with it early next week and report back to you.

Have a nice weekend

/tony
fabian
 
Posts: 13
Joined: Mon Sep 01, 2008 4:40 pm

Re: JS3Upload + JImageUpload + JImageFilter install

Postby fabian » Tue Sep 23, 2008 5:38 pm

Hi,

Thank you for the samlpe code. It seems to be working just fine :-)
I does however not work together with s3upload.jar BETA 2.2 ... guess that there is some internal dependency that needs to be updated in order for the other jars files to be working with beta version of s3upload.jar

Kind regards

Tony
fabian
 
Posts: 13
Joined: Mon Sep 01, 2008 4:40 pm

Re: JS3Upload + JImageUpload + JImageFilter install

Postby support » Tue Sep 23, 2008 5:59 pm

Yes, the 2.2 Beta won't work. If you need an overall 2.2 beta solution to work then I could provide it if you purchase the applet. Or you need to wait for the official 2.2.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: JS3Upload + JImageUpload + JImageFilter install

Postby anandkp » Mon Jun 27, 2011 2:51 pm

The attached zip file "upload-image-scale-s3.zip" is corrupt and I'm not able to unzip it after download.
Can anyone share the scripts for this case please.
anandkp
 
Posts: 7
Joined: Sun May 24, 2009 6:59 am


Return to JS3Upload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.