Skip to main content

Get constant URL for using in CSS

Comments

1 comment

  • Daniel Mendoza

    @Rakesh

    Images can be overwritten so that the URLs stay the same. If you are uploading the image from the Media Library, set the public id to the name of the one you want to override and upload the resource. A prompt will be displayed about overriding the original. The same can be done for uploading a resource via the API, here is an example in Ruby:

    Cloudinary::Uploader.upload("http://res.cloudinary.com/demo/sample.jpg", public_id: "your_public_id")

    0

Post is closed for comments.