preview images in a browser and set their data uri in an input field