Uploaded image for project: 'External DAMs'
  1. External DAMs
  2. EXTDAM-307

Display image sizes variations in Bynder asset details

    XMLWordPrintable

Details

    • Yes
    • Yes
    • Content Mngmt 15
    • 3

    Description

      Context

      • Follow up the backend implementation EXTDAM-305, Bynder have different image size variation depending from the original image.
      • So, showing the size variations from Bynder could be help users to get the correct one using damfn templating function, example: damfn.getAssetLink(bynderAsset, "small")

      Expected results

      • Show the size variations of the asset like the mockup 
      • Display nothing or can hide the field if creating new asset

      Dev notes

      The size variations can be get from the BynderAsset#bynderMedia#mediaItems. The list mediaItems contains all versions of the asset, so we should get only the latest version by checking isActive property and Version property. Similar method BynderAsset#getMediaItem

      The name is longer than the expected from the mockup, should be split by "-", example mediaItem name is: "large-shining.jpg", we should display "large" only.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                yen.lactue Yen Lac Tue
                nguyen.phung Nguyen Phung Chi
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3d 6h 50m
                      3d 6h 50m