« Return to Thread: [jira] Created: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

[jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


     [ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Lundquist updated COCOON-2169:
-----------------------------------

                    Component/s:     (was: Blocks: (Undefined))
                                 Blocks: ImageOp
    Affects version (Component): Parent values: Blocks: ImageOp(10334).
        Fix version (Component): Parent values: Blocks: ImageOp(10336).

> ImageOp resize effect has broken/useless default dimensions
> -----------------------------------------------------------
>
>                 Key: COCOON-2169
>                 URL: https://issues.apache.org/jira/browse/COCOON-2169
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: ImageOp
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
>            Reporter: Mark Lundquist
>            Priority: Minor
>
> Class ResizeOperation in the ImageOp block has broken/useless default values for the "height" and "width" parameters.  The only reasonable default values are zero.  Zero height or width has a special meaning.
> I am passing these parameters in from the sitemap using the request parameter input module.  If the parameter doesn't exist, I need the "zero" value and behavior from the Reader.  Setting the dimension to e.g. "300" is broken.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions

LightInTheBox - Buy quality products at wholesale price!