Resource different naming methods

Cloudinary supports several methods for naming your uploaded resources.

Via API:

  • Fully random 20 characters long public ID, keeps you image URLs obscure for privacy matters (That is the default behavior)
  • The original filename followed by a unique 6 random characters suffix (activated by use_filename:true & unique_filename:true)
  • The original filename as-is, this will override any existing image that shares the same name (activated by use_filename:true & unique_filename:false)
  • Setting a specific public ID, this will override any existing image that shares the same name (public_id:"my_resource")

Via UI (i.e. media-library):

  • The original filename followed by a unique 6 random characters suffix (That is the default behavior)
  • The original filename as-is, this will override any existing image that shares the same name (activated by setting the "Use file name in Media Library" to True on the upload settings page)
  • Setting a specific public ID, this will override any existing image that shares the same name (In the upload form, set the public ID field under "More upload options...")
Have more questions? Submit a request

Comments

Powered by Zendesk