LUN-1214: images without extension will be uploaded as filer images

* this will work for png, jpeg and gif