Описание тега uploadcare
Summary
Uploadcare is a service for uploading images and other files using API or HTML form widget, and storing them in CDN. The CDN provides image manipulation commands in URL.
Uploading Files from HTML forms
Uploadcare widget can be added to HTML form with one line:
<!-- This will render a widget. Don't forget to import JS library (see docs) -->
<input type="hidden" role="uploadcare-uploader" name="my_file" />
It will be displayed as a button. When clicking on the button, a dialog opens that allows you to upload a file from your disk, or from a number of other sources: Facebook, Instagram, Dropbox, Google Drive, Box, Flickr and others, or from a URL.
Example: http://jsbin.com/tequl/2
Image Manipulation using CDN
Once an image is uploaded and stored in CDN, the URL-based API can be used to crop, resize or apply an effect to the image. For example, originally uploaded image:
http://ucarecdn.com/5651bbb6-c599-44bd-9c63-1db5e67db6ad/kitty.jpg
Cropped and centered:
http://ucarecdn.com/5651bbb6-c599-44bd-9c63-1db5e67db6ad/-/crop/200x300/center/kitty.jpg
Image manipulations can be sequenced. For example: