- Installation -

JImageUpload generates thumbnails to preview images before upload. It works on the top of JFileUpload. End-user can add/remove images with drag&drop into the applet and optionally rotate images. It supports JPEG, GIF, PNG as default image formats.

Instructions

JImageUpload is a JFileUpload add-on so you do need JFileUpload installed before installing it. Here are instructions:

  1. Copy dist/lib/previewui.jar under lib/ folder (where others JFileUpload JAR files are stored).
  2. Copy i18n_bar.properties, i18n_pane.properties and all .html + .js files under the same folder as JFileUpload HTML/JavaScript files.
  3. Modify dist/applet_http_ipreview.js or dist/applet_ftp_ipreview.js to setup basic parameters and open the HTML file in your browser to try it.
  4. Optional: Modify i18n_pane.properties to customize front-end

Parameters and properties

Samples provided in JImageUpload are already setup with basic parameters. You just have to update url parameter with your own server. JImageUpload supports most JFileUpload parameters. Front-end can also be customized. Thumbnails properties (image formats, size, grid, colors, messages, buttons, ...) are available under i18n_pane.properties. They're all detailed here. Progress bar properties (messages, colors) are under i18n_bar.properties.

Any problem ? Read the [FAQ] first. Still a problem ? Post your question to our online support forum.

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.