fixing image selection bug on mac + safari issue => need to change accept attribute of input field