lightcase
lightcase copied to clipboard
Add *.jpe support
Currently Lightcase doesn't support *.jpe files. Would it be possibile to add it?
Hi, i think you'd must modify
typeMapping: {
'image': 'jpg,jpeg,gif,png,bmp',
'flash': 'swf',
'video': 'mp4,mov,ogv,ogg,webm',
'iframe': 'html,php',
'ajax': 'json,txt',
'inline': '#'
}, ...
into: typeMapping: { 'image': 'jpg,jpeg,gif,png,bmp,jpe', 'flash': 'swf', 'video': 'mp4,mov,ogv,ogg,webm', 'iframe': 'html,php', 'ajax': 'json,txt', 'inline': '#' }, ...
Do you mean modifying part of code in lightcase.js? I've done so and it works but when next release will be available I'll have to remember to do the same change every time I upgrade.