Bulk upload large images to cloudinary

五迷三道 提交于 2019-12-07 14:29:41

问题


Is there a way to bulk upload images to my cloudinary account?

I am looking to import 100 images of 3MB each at a time.

Thank you.


回答1:


You can use Cloudinary's upload API to upload images one by one. Here is a sample upload code in Python. If your images are already in a public location, you can specify the remote HTTP URL as the file parameter instead of sending the actual image's data. This allows much faster uploading. If your images are in an Amazon S3 bucket, images can be fetched by Cloudinary directly from S3 for reaching even higher upload performance.

You can also run your upload code using multiple processes in parallel for quickly uploading multiple files simultaneously. In our Ruby on Rails client library we included a migration tool.

Currently there is no dedicated API method of Cloudinary for performing bulk upload of images.




回答2:


Easiest way is to use the remote API - and Just pass the url reference to the account and Cloudinary will connect to the image and download it into your account.

http://cloudinary.com/documentation/upload_images#remote_upload



来源:https://stackoverflow.com/questions/13003807/bulk-upload-large-images-to-cloudinary

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!