Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Normal
-
Patch available
-
Blocks: ImageOp - 1.0.0-M1-SNAPSHOT
-
Blocks: ImageOp - 1.0.0-M1-SNAPSHOT
Description
The addition of an "allow-enlarge" parameter to the resize operation allows the user to control whether an image should be enlarged by the operation.
This new parameter is declared in the sitemap like so:
<map:read type="imageop" src="image.jpg">
<map:parameter name="prefix-preserve-ratio" value="true"/>
<map:parameter name="prefix-allow-enlarge" value="false"/>
<map:parameter name="prefix-width" value="320"/>
<map:parameter name="prefix-height" value="240"/>
</map:read>
This new parameter is declared in the sitemap like so:
<map:read type="imageop" src="image.jpg">
<map:parameter name="prefix-preserve-ratio" value="true"/>
<map:parameter name="prefix-allow-enlarge" value="false"/>
<map:parameter name="prefix-width" value="320"/>
<map:parameter name="prefix-height" value="240"/>
</map:read>
Attachments
Attachments
Issue Links
- is cloned by
-
COCOON-2290 CLONE - Add a read method to the SitemapComponentTestCase
- Closed