cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lundquist (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-2169) ImageOp resize effect has broken/useless default dimensions
Date Fri, 04 Jul 2008 21:47:31 GMT

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

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

    Attachment: smime.p7s

height = 0, width > 0 :: set width as given and scale uniformly
height > 0, width = 0 :: set height as given and scale uniformly
height = 0, width = 0 :: pass image through without change






> 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
>            Reporter: Mark Lundquist
>            Priority: Minor
>         Attachments: smime.p7s
>
>
> 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.


Mime
View raw message