CLONE - Add a read method to the SitemapComponentTestCase
---------------------------------------------------------

                 Key: COCOON-2290
                 URL: https://issues.apache.org/jira/browse/COCOON-2290
             Project: Cocoon
          Issue Type: Improvement
          Components: Blocks: ImageOp
            Reporter: Tricia Williams
            Assignee: Grzegorz Kossakowski
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to