JumpLoader
Java File Upload Applet

Documentation

Scaled images upload

(since 2.5)

This mechanism allows uploading multiple scaled instances of original image. Following parameters should be used manage this feature:

  • uploadScaledImages
    shows whether scaled images should be uploaded. If true, uploaded file would be ZIP archive where entries are scaled images of original, entry count and names will match scaled instance names. ZIP file name is original file name + ".zip"
  • scaledInstanceNames
    scaled instance names (comma separated, e.g. "small,medium,large")
  • scaledInstanceDimensions
    scaled instance dimensions (comma separated, for example "100x100,200x200,400x400")
  • scaledInstanceQualityFactors
    scaled instance quality factors (0-worse quality, 1000-best), (comma spearated, fo example, "900,800,700"

Scaled image watermarking

(since 2.8.9)

This is an extension of "scaled images upload" feature.
In order to apply watermarks to scaled images, use
scaledInstanceWatermarkNames
parameter to specify watermark names for scaled instances, use "null" to specify that
watermark should not be applied for specified instance or arbitrary name for watewrmark, for example:

"null,mediumWm,largeWm"

Every name specified in parameter value must be parameter name for watermark properties, for example:

<param name="mediumWm" value="halign=center;valign=middle;opacityPercent=20;imageUrl=wmMedium.png"/>

Parameter value is ";" separated list of key=value pairs, keys are:
- halign: horizontal alignment (left/center/right)
- valign: vertical alignment (top/middle/bottom)
- opacityPercent: opacity 0 (transparent)..100 (opaque)
- imageUrl - image URL (absolute or relative to document base)