[MGNLSTK-888] Make stkImageGallery case insensitive Created: 20/Mar/12  Updated: 29/Mar/12  Resolved: 23/Mar/12

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.7, 2.0.2

Type: Improvement Priority: Neutral
Reporter: Zdenek Skodik Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty

 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.


Generated at Mon Feb 12 07:31:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.