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

Enable damfn getRenditions for S3 with DAM Connector Pack

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      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

        Acceptance criteria

              ldelnevo Laura Delnevo
              acordero Alberto Cordero
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD