Added image preview and file browser