You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Alfred Nathaniel (JIRA)" <ji...@apache.org> on 2008/07/04 23:01:33 UTC
[jira] Updated: (COCOON-2169) ImageOp resize effect has
broken/useless default dimensions
[ https://issues.apache.org/jira/browse/COCOON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alfred Nathaniel updated COCOON-2169:
-------------------------------------
Status: On Hold (was: Open)
I can't quite follow you. What is the special behaviour of zero values you would like to inherit by leaving out the parameters?
> 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
>
> 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.