Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
1.0.7
-
None
-
-
Empty show more show less
-
Yes
-
Yes
-
Content Mngmt 13, Content Mngmt 14
-
5
Description
Context
- Based on the outcome of
EXTDAM-289, we can implement a functionality similar to Magnolia Rendition, to use Bynder derivatives - Bynder provides some derivatives by default, such as small, medium, large (see attachment), so we can use these as rendition name in damfn templating function method
Expected results
- Return the derivative from Bynder when using damfn.getAssetLink(bynderAsset, "small")
Dev notes
https://developer-docs.bynder.com/api/downloading-assets/#retrieve-originals-and-derivatives
- Sample code
// mediaId is Bynder asset key MediaInfoQuery mediaInfoQuery = new MediaInfoQuery(mediaId); mediaInfoQuery.setVersions(Boolean.TRUE); // This response will include all media derivatives with URL to download Response<Media> mediaInfo = assetService.getMediaInfo(mediaInfoQuery).blockingSingle(); // How to download a specific mediaItemId MediaDownloadQuery mediaDownloadQuery = new MediaDownloadQuery(mediaId); mediaDownloadQuery.setMediaItemId("622DAAD9-59C9-4270-95ECEE5B60399837"); Response<DownloadUrl> response = assetService.getMediaDownloadUrl(mediaDownloadQuery).blockingSingle();
- So, we need to find out the mediaItemId based on the renditionName from damfn
Checklists
Acceptance criteria
Attachments
Issue Links
- is cloned by
-
EXTDAM-307 Display image sizes variations in Bynder asset details
-
- Closed
-
- relates to
-
EXTDAM-289 Investigate: Enable Renditions for Bynder asset
-
- Closed
-
- to be documented by
-
EXTDAM-308 DOC: document how to enable and use image renditions for Bynder
-
- Closed
-
- mentioned in
-
Page Loading...