Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: None
    • Component/s: JSF Controls
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.)

      Description

      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>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  shane.bryzak Shane Bryzak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: