Named Parameter Sets
The existing 404 feature has a concept of a short name representing a more expansive setting value, e.g. http://site.com/image.jpg?404=noImage
Could this idea be extended so that a short name could be used to locate a set of image resizer argument values to help with uniformity in a large site, e.g. http://site.com/image.jpg?set=medium
where medium refers to a configuration named "medium" that specifies:
- width: 300
- height: 300
- 404: /images/404/noImage.jpg
- and so on...
This feature has been implemented in v3.1, as the Presets plugin. ?preset=medium
- Installation
1. Add `` to the `` section.
- Configuration Syntax
A named preset can specify default settings (these can be overridden in the URL), or normal settings (which override corresponding URL settings) – or both.
…
…