Simply prefix any /binaries URLs with the /assetmod/<operations>/... construct. For example:
/binaries/content/gallery/myimage.jpg
turns into
http://localhost:8080/site/assetmod/scale=_,600/crop=600,600
/binaries/content/gallery/myimage.jpg
As you may have noticed, you can specify multiple operations. They are structured like this to make it easier for caches to cache them.
Available operations are:
- scale=_,<new-height>; scale the image to a new height (keeping aspect ratio intact)
- scale=<new-width>,_; scale the image to a new width (keeping aspect ratio intact)
- crop=<max-width>,<max-height>; crop zoom the image to max-width and max-height
- filter=brighter; turn up the brightness of the image a little
- filter=darker; the image becomes a little bit darker
- filter=greyscale; the image because black and white
Go back to the overview to discover more functions of XIN Mods.