Uploaded image for project: 'Magnolia Standard Templating Kit'
  1. Magnolia Standard Templating Kit
  2. MGNLSTK-1515

Make the list of STKAssetRenderer's allowed image types configurable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Sprint:
      Basel 50
    • Story Points:
      5

      Description

      With the move to magnolia 5 we are finding that many of our images which used to be just fine are not rendering correctly in magnolia 5.

      Reason is that these images have different mime-types:
      image/x-png - the mimeType used by PNG before the standard image/png was registered
      image/pjpeg - mimeType used by Internet Explorer when uploading progressive jpegs

      In Magnolia 4.4 these didn't cause any problems.
      In Magnolia 5 the new Assets stuff can't deal with them.

      The problem is (initially) with info.magnolia.module.templatingkit.dam.STKAssetRenderer
      This defines a set of allowed MimeTypes, it is too restrictive.
      Please add the pjpeg and x-png image types.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              runger Richard Unger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: