File Uploader with image preview and database entry