2 ms·
Hi, You can use Cloudinary for all your media needs (documents included) :) Images After uploading an image to Cloudinary, you'll be able to perform on-the-f
by MaorCld 9y ago
Hi,
You can use Cloudinary for all your media needs (documents included) :)
Images
After uploading an image to Cloudinary, you'll be able to perform on-the-fly transformations directly from the URL. For example, this is a Cloudinary URL of the sample image -
http://res.cloudinary.com/demo/image/upload/sample.jpg http://res.cloudinary.com/demo/image/upload/sample.jpg
resizing it to a 350X200 image with the width and height parameters (w and h in URLs, respectively) -
http://res.cloudinary.com/demo/image/upload/w_350,h_200/sample.jpg http://res.cloudinary.com/demo/image/upload/w_350,h_200/samp...
For more transformations options -
http://cloudinary.com/documentation/image_transformations http://cloudinary.com/documentation/image_transformations
Videos
basically the same as image handling. Uploading videos is as easy as uploading images (same code, just changing the resource_type to video). Then, convert to a different format simply by changing the video's extension -
The original dog.mp4 -
http://res.cloudinary.com/demo/video/upload/dog.mp4 http://res.cloudinary.com/demo/video/upload/dog.mp4
Transcoding to a webm video on-the-fly (webm is natively supported on Chrome browsers) -
http://res.cloudinary.com/demo/video/upload/dog.webm http://res.cloudinary.com/demo/video/upload/dog.webm
You can get the audio channel by transcoding it to an mp3 file -
http://res.cloudinary.com/demo/video/upload/dog.mp3 http://res.cloudinary.com/demo/video/upload/dog.mp3
Docs
Uploading by changing the resource_type to raw.
All resources are delivered by multiple CDNs.
For more information on uploads and delivery -
http://cloudinary.com/documentation/upload_images http://cloudinary.com/documentation/upload_images
If you have any questions, feel free to reach out to support@cloudinary.com