cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Kossakowski (JIRA)" <>
Subject [jira] Updated: (COCOON-2133) Addition of "allow-enlarge" parameter to ImageOp resize operation
Date Mon, 31 Dec 2007 13:02:43 GMT


Grzegorz Kossakowski updated COCOON-2133:

    Fix Version/s:     (was: 2.1.11)
                       (was: 2.2-dev (Current SVN))

Thanks Robin for providing a patch.

Before it can be applied I would like to see it covered by test-case. Could also attach a
test for allow-enlarge parameter?

> Addition of "allow-enlarge" parameter to ImageOp resize operation
> -----------------------------------------------------------------
>                 Key: COCOON-2133
>                 URL:
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.11, 2.2-dev (Current SVN)
>            Reporter: Robin Wyles
>            Priority: Minor
>         Attachments: ResizeOperation.patch
> 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 message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message