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

Make stkImageGallery case insensitive

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: