Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-168

Variation with png images leads to black background instead of transparent background

XMLWordPrintable

    • Kromeriz 20, Kromeriz 25
    • 5

      If a default variation is used via:

      [#assign imgItemKey = content.image!]
      [#if imgItemKey?has_content]
          [#assign myMediumRendition = damfn.getRendition(imgItemKey, "original")!]
          [#if myMediumRendition??]
              <img src="${myMediumRendition.getLink()}"/>
          [/#if]
      

      then the following link is generated:
      "/.imaging/default/dam/travel-demo/social-icons/google-plus.png/jcr:content.png"
      This link serves a png with black background instead of transparent background.

      Problem occurs in all variations shipped w/ Magnolia not just default one.

        Acceptance criteria

              jsimak Jaroslav Simak
              jschulte Jan Schulte
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 7.25h
                    7.25h