Upload 1000 images?
I'm converting an old website to mean stack (angular 6), and along the way, want to use cloudinary to host the images. I have all the 1000 or so images locally on my hard drive.
I need to upload each one, and write in my database the new image url.
Any way to do this quick, not one by one?
Thanks.
-
Hi Ron,
Here are a few bulk upload options:
While our upload API currently only supports a single file upload at a time, it does have a high concurrency rate (of about 40-50 concurrent calls) so you can use multi-threads to upload many files at once.
You can also use asynchronous calls, and tell Cloudinary to do the upload in the background by adding the `async` parameter and setting it to `true`.You could also drag and drop the folder of images to the UI but the browser limitation will come into play.
If you have your images residing on the web anywhere else then another option would be to use our [auto upload](http://cloudinary.com/blog/how_to_automatically_migrate_all_your_images_to_the_cloud) feature which will enable you to define a path from which the images could be uploaded. This would upload the images lazily (i.e., every time they are specifically called by the end-user).
Thanks,
Aditi0
Post is closed for comments.
Comments
1 comment