[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1123) Constrain width or height for s:graphicImage

Gavin King (JIRA) jira-events at lists.jboss.org
Wed May 30 00:05:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1123?page=all ]

Gavin King updated JBSEAM-1123:
-------------------------------

    Fix Version/s:     (was: 1.3.0.BETA1)

> Constrain width or height for s:graphicImage
> --------------------------------------------
>
>                 Key: JBSEAM-1123
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1123
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 1.2.1.GA
>            Reporter: Shane Bryzak
>         Assigned To: Pete Muir
>            Priority: Minor
>
> Pete - It would be nice if s:transformImageSize could constrain an image by either its width or height.  I have a scenario where neither the width or height should exceed 80px, yet the ratio should be maintained.  Something along the lines of this syntax would probably do the job but you can probably come up with something nicer:
> <s:graphicImage value="#{image}">
>   <s:transformImageSize max-width="80" max-height="80" maintainRatio="true"/>
> </s:graphicImage>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list