Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9382

Fix image widgets display under IE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.0-HF08, 5.6-RC1, 5.6
    • Component/s: None
    • Tags:
    • Upgrade notes:
      Hide

      img tag is not rendered anymore when src value is empty

      Show
      img tag is not rendered anymore when src value is empty

      Description

      There are several issues with images management in nuxeo:

      • when displaying an image without value, the context may be reset and produce strange bugs (i'll find the jira issue) so no image should be displayed in that case. this is currently handled by adding cumbersome "rendered" clauses on nxu:grapghicImage or nxh:graphicImage tags.
      • when setting a width and height (for instance when referencing potential widget properties), empty tags are generated => IE does not display these images well.

      As components nxu:graphicImage and nxh:graphicImage were added some time ago as wrapper tags, they could be customized to handle these needs (currently still using the default JSF implementation).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: