Yes. Cloudinary was upgraded on March 2013 to support folders.
From here on, your images' public ID can contain one or more folders, e.g.
For example, here's a Ruby code sample that uploads an image with the above url (note - this requires the Gem v1.0.50+):
Cloudinary::Uploader.upload("sample_image.jpg", :public_id => "multiple/folders/sample")
The Ruby code that builds this url:
cloudinary_url("multiple/folders/sample", :version => "1364158979", :format => :jpg)
Alternatively, here's the Rails cl_image_tag that will display this image:
cl_image_tag("multiple/folders/sample", :version => "1364158979", :format => :jpg)
- If you build the urls by yourself, you'll need to add a version component for folders to work. If you aren't planning on overriding your images, you can simply use "v1" as the version number. Our client integration libraries will automatically add the correct version for you.
- While the samples above are based on Ruby/Rails, all of our latest client integration libraries supports the folders functionality.
You can now add the new
folder parameter to the upload call to specify the folder while uploading. This includes uploading multiple images.
For more information:
You can now create folders from the Media library as well: