You can upload images, videos, and other files to your Media Library via drag-and-drop, file-system upload, or by selecting media files from a variety of remote sources. In all cases, you can upload multiple files at once. This single repository is then used by your creative team during all stages of the media review and selection workflow as well as by your developers for delivery in your production website or app.
When you upload assets to Cloudinary, they are stored in cloud storage buckets (such as Amazon S3 or Google Cloud Storage) with all of the backups, versioning, and replication that are standard with leading cloud storage vendors. For technical details about Cloudinary storage, architecture and delivery, see Service architecture.
Any settings that were applied in your account's Media Library upload preset are applied to every uploaded file. For example, the preset may apply one or more auto-tagging add-ons, so that every uploaded asset will be tagged according to automatically detected categories, or the preset may activate manual or automated moderation to uploaded files. The Media Library upload preset and other upload settings can be set by users with one of the Admin roles. For details, see Upload Settings.
- If you have one of the Admin roles, you can upload to all folders.
- If you have a Media Library user role, you can upload only to folders where you have at least Can contribute permissions. For details, see Folder sharing and permissions.
The Media Library provides a variety of ways to upload media to your Cloudinary account from a variety of sources. Regardless of the option you choose, the selected files are uploaded to the currently selected folder.
There are two ways to upload from the file system:
- Drag and drop: Drag and drop selected media files or folders into the Media Library from your file system. The files or folders you drag are added to the currently active folder. When you select folders, the entire folder structure, including any sub-folders, is created within the folder you dragged to. (If you are currently in a view other than the folder view, the files or folders are added to the root folder.)
- Browse local files button Click the + button, next to the main Upload button, to open your file system folder and select the file(s) to upload.
When using either of these options, public IDs and tags (if any) are applied according to your account upload Settings. If you want to specify the public ID or add custom tags for the files you select to upload, use the Media Library Upload Widget.
- Uploading folders is supported only when dragging to the Media Library and not via the Browse local files or Upload Widget options.
- Make sure the folder names of any uploaded folders (including sub-folders) do not contain any special characters. Only alphanumeric characters and hyphens or underscores are supported.
- Only folders containing files are created. Empty folders or sub-folders are ignored.
If you want to select media files from a source other than your computer/device, or you want to apply additional settings to the files you upload, click the Upload button at the top-right of the Media Library to open the Upload Widget. From the widget you can:
- Upload from remote sources such as a URL, Google search, DropBox, and more.
Use the Advanced options to set the public ID and/or tags for all the media you select for upload or to select an upload preset to apply to all assets you upload in a specific upload widget session. If you set a public ID when uploading multiple files, each uploaded file gets the specified public ID plus a counter suffix.Notes
- If you want to set Advanced options, you must set them before you select the files to upload.
- By default, the Upload Preset option in the Advanced options of the Media Library Upload Widget is hidden. If you would like it enabled for your account, submit a support request.
Watch the Media Library Upload video tutorial to see this in action.
By default, the public ID (the file name that will be used in the URL) is based on the filename of the selected files, either with or without a random suffix, depending on the options set in your account settings.
Depending on the settings in your account's Media Library default upload preset (or those in the preset you select in the Upload widget) as well as the permissions you have for the folder where you upload assets, you may or may not be able to overwrite an existing asset.
When overwriting is supported, then by default, overwriting the asset also clears the values in tags, contextual, and structured metadata fields for that asset. A Cloudinary master admin can change this default behavior for your account via the Media Library preferences so that these field values are retained when new version assets overwrite older ones (unless you specify different values as part of your upload, for example, via the Advanced Options of the Media Library upload widget).
You can specify any public ID using the Advanced options in the Upload Widget. You can also use the Advanced options to specify tag(s) to assign to all assets that you upload in this upload session.
Keep in mind that you must set the Advanced options before you select the files to upload.
Additionally, note that if you set a public ID and then select multiple media assets to upload, they all get the same public ID with a counter suffix.
When uploading assets to a particular folder, keep in mind that different users may have different folder access permissions. Make sure to upload your assets to a folder that is shared only with the user groups that should be able to access them.
The folder structure where an asset is stored is included in its delivery URL. This may also be an important consideration when selecting the folder where you want to upload.