Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
3.2
-
None
Description
Currently the only way to get resized images is via imaging rules defined in a theme:
-> renditions of the DamTemplatingFunctions
-> variations of the ImagingTemplatingFunctions
This means that the template needs a site and a theme in use.
But a site & theme is only available for the "site" page templates, not the "freemarker" templates.
So for pure "freemarker" templating, there is currently no way of requesting different image sizes.
Means that pure front end templaters using for example light modules & freemarker templates can't get resized images.
It should provide something very simple, as any other CMS does:
${imgresizefn.resize(Asset asset, String width, String height)}
${imgresizefn.resize(Asset asset, String width)}
${imgresizefn.resize(Node binaryNode, String width, String height)}
${imgresizefn.resize(Node binaryNode, String width)}
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MGNLSITE-100 Missing Imaging configuration can lead to exceptions
-
- Closed
-