[EXTDAM-243] Enable damfn getRenditions for S3 with DAM Connector Pack Created: 22/May/20  Updated: 01/Oct/21  Resolved: 01/Oct/21

Status: Closed
Project: External DAMs
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Alberto Cordero Assignee: Laura Delnevo
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to EXTDAM-289 Investigate: Enable Renditions for By... Closed
dependency
depends upon EXTDAM-289 Investigate: Enable Renditions for By... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

Initially filed as bug report, see below. Needs more requirements (generic, not only S3).

Steps to reproduce:

  • I try the DAM Connector Pack with Amazon S3 Assets.
  • I want to get Image renditions from S3, but Text & External Image doesn´t get the rendition with S3 Assets.
  • When I tried with an S3 Asset the method
    info.magnolia.dam.templating.functions.DamTemplatingFunctions#getRendition(info.magnolia.dam.api.Asset, [com.google.common.net|http://com.google.common.net/].MediaType, java.lang.String)
    

    the object returned is:

    info.magnolia.dam.core.NoOpAssetRenderer$NoOpAssetRendition
    

Expected results

  • Get renditions as for a Magnolia Asset
  • Trying the same template script, same theme, same site with a Magnolia Asset it returns:
    info.magnolia.dam.imaging.ImagingBasedAssetRenderer$ImagingBasedAssetRendition
    

Actual results

  • Failing to get renditions, see above

Workaround

At this moment to get different image sizes in amazon S3  it´s necessary to upload it in different sizes instead of once and get the renditions.

Dev notes

  • the fix is in the DAM, there is a check for JcrASsets only


 Comments   
Comment by Pierre Sandrin [ 17/Aug/21 ]

Is this also true for Bynder? I mean: Is there no possibility to get Renditions for Bynder images?

Comment by Pierre Sandrin [ 25/Aug/21 ]

Opened new Issue for the same but with bynder:

https://jira.magnolia-cms.com/browse/EXTDAM-289

Comment by Laura Delnevo [ 30/Sep/21 ]

Thanks pierre for opening extdam-289, we've looked into the request and we're now looking into Bynder renditions with ticket EXTDAM-305( as a result of -289 investigation)

Generated at Mon Feb 12 01:53:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.