Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-888

Make stkImageGallery case insensitive

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.4.7, 2.0.2
    • None
    • None
    • None

    Description

      The paragraph is quite restrictive in defining the allowed set of image extensions to be rendered:

      protected static final String[] ALLOWED_IMAGE_TYPES = new String[]{"gif", "jpg", "jpeg", "png"};
      

      which throws magnolia-logo.JPG away. In order to be inline with other STK's paragraphs/templates, it shouldn't matter if an editor stores her image with extension in capital.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ejervidalo Espen Jervidalo
              zdenekskodik Zdenek Skodik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: