lightcase icon indicating copy to clipboard operation
lightcase copied to clipboard

Add *.jpe support

Open szaqal83 opened this issue 6 years ago • 2 comments

Currently Lightcase doesn't support *.jpe files. Would it be possibile to add it?

szaqal83 avatar Sep 03 '19 06:09 szaqal83

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': '#' }, ...

CarImp64 avatar Jan 22 '20 14:01 CarImp64

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.

szaqal83 avatar Jan 23 '20 06:01 szaqal83