Via API
Since folders are included in the image's public ID, renaming it will move it from one folder to another. Renaming can be done via the Upload API's rename call. For example in Ruby:
result = Cloudinary::Uploader.rename(from_public_id,
to_public_id,
options = {})
Where from_public_id
is myfolder1/my_image_1
and to_public_id
is mynewfolder/my_image_1
Note by default this will move assets of type `upload` and resource type `image` if those parameters are not specified.
Via UI
A similar action can be done in the UI by following the steps outlined here:
- Select the asset you would like to move and choose the option `Move to Folder`.
- Choose the folder you would like to move the asset and select "Move":
-
Either find the folder you wish to move it to or create a new folder by clicking the folder icon with a plus on it.
Cloudinary supports two modes for managing folders: fixed folders and dynamic folders. Here's a brief overview:
- Fixed Folders: Assets are stored in a fixed folder structure that you define. This structure remains consistent unless you manually move assets.
- Dynamic Folders: The folder structure can change dynamically based on asset metadata, such as tags or other criteria. This allows for more flexible and automated organization.
For more details on folder modes, you can refer to the Cloudinary DAM Folder Modes documentation.
Comments
14 comments
There's no 'bulk' way to move images into a folder? If I have 100 images, I'm not going to pull up each image to guess at the name of the folder. I'm especially not going to do that for 1000 images. In the same vein, there doesn't seem to be a way to bulk tag images, either.
Hi Eric, bulk operations via the UI (inc. tagging, moving between folders, and more..) is currently WIP in our labs, and should become available somewhere during the next couple of months.
Meantime, you can use our API to issue this kind of operation. We'd love to help if needed, feel free to contact us on a support ticket.
Is this available yet? I would like to move some images from one folder to another. Finding it very difficult - and not sure how to work an API?
Hi Joe, not yet unfortunately.
However, please don't hesitate to open a support ticket and our guys will be happy to assist you with processing this relocation.
Any update on this?
Hi, sorry for not updating this thread earlier.
A couple of months ago we added a multi-selection capability to the Media-Library along with a nice set of operations, including bulk move to folder, as well as ZIP archiving, tagging & deleting.
is the select all available yet?
Hi Gerardo,
While the "select all" option is not supported, you can select a range of resources by holding the 'Shift' key when checking two check-boxes. More advanced UI features are on their way.
What if it is a Facebook profile image? There is no rename option.
I need to put Facebook profile images that i pull in from a wifi login system that uses Facebook into a clients folder that has presets on it, then pass back that url into a merge tag in Mail Chimp..
First i need to figure out how to get the Facebook image in a folder though or how to get these uploaded through zapier but i keep getting an error there.
Need some help with this... A zapier app would be great. Have you guys thought about this? This is painful right now lol
You may use tags to distinguish between different users content instead of folders.
Facebook resources, like any other automatically fetched resource cannot be renamed as we require the name to correspond to its origin (e.g. profile ID, URL, etc.).
To bypass this restriction you can upload the image, and save with any public ID you desire.
I keep getting an error when trying to upload. Not sure i have right settings here or missing something.
https://www.screencast.com/t/oItRtQN9jXJN
https://www.screencast.com/t/jjRiStblkaQD
I wanted to use folders so everything was a little more organized.
Hi Scott, try setting "payload type" to "form".
Also note that our upload API requires providing either a signature (for signed upload) or a unsigned upload-preset (for unsigned). API-SECRET shouldn't be passed as a parameter to the HTTP POST request.
More information here: http://cloudinary.com/documentation/upload_images
Hello,
Is the possibility to rename or move a file available?
Thanks,
Lionel
Hi Lionel,
Sure:) You can rename a file directly from the Media library (as explained by Itay).
Alternatively, you can use the rename API -
http://cloudinary.com/documentation/image_upload_api_reference#rename
Please sign in to leave a comment.