LPS-43148 Image uploader should validate the extension of the files being uploaded