image selector with react.js