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

For Picture documents: Make images used for Thumbnail and display configurable

    Details

      Description

      As of today, the images displayed for the Thumbnail and the view in "Full layout" are hardcoded:

      • Thumbnail uses the "Small" picture:views. If not found, looks at the "Thumbnail" picture:views. If fails, default icon. (This is the algorithm of ThumbnailPictureFactory)
      • Display in Full layout uses "FullHD" picture:views

      It would be very cool to be able to define which picture:views to use for Thumbnail and which to use for display.

      Notice:

      • The ThumbnailPictureFactory can be overridden to return any picture:views for the thumbnail.
      • Overriding the URLs used in JSF/WebUI for the main display may be a bit more tricky. JSF hard codes the "FullHD" value, WebUI - as of "today", 8.10 and 9.1-SNAPSHOT-2016-12-10 uses the #4 element of picture:views (assuming it's the "FullHD" view)

      But I am talking about configuring easily, no need to write a Java class or change default widgets.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.