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

Display image sizes variations in Bynder asset details

XMLWordPrintable

    • Yes
    • Yes
    • Content Mngmt 15
    • 3

      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.

       

        Acceptance criteria

          1. image-2021-09-21-11-18-37-723.png
            3.77 MB
            Laura Delnevo
          2. image-2021-10-05-17-46-36-130.png
            223 kB
            Nguyen Phung Chi
          3. image-2021-10-05-17-48-13-996.png
            125 kB
            Nguyen Phung Chi

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

                Created:
                Updated:
                Resolved:

                  Task DoD

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