uploadcare / uploadcare-node

Node module for uploadcare.com
MIT License
37 stars 21 forks source link

Upload from URL #5

Closed MaximDubrovin closed 10 years ago

MaximDubrovin commented 10 years ago

Is it possible?

During account creation with facebook or twitter I can get user image url. And I want to automatically upload it to my uploadcare account for user convenience. If it is uploaded, then on user settings page I paste uuid to widget

 <input type="hidden"
            role="uploadcare-uploader"
            data-images-only
            data-crop
            data-clearable
            data-tabs="file facebook instagram vk flickr dropbox gdrive url"
            value="{{image.uuid}}"
 />

and user has already uploaded avatar and can edit it just after account creation. And I'm sure that his avatar uploaded to my storage and url is persistent.