I've replaced an existing image with a new one, but my website stills shows the old one. Why is that?

Follow

Comments

3 comments

  • Avatar
    Gabriel Crowe

    [deleted]

  • Avatar
    Agustín Ibars

    Hi,

     

    If I upload an image providing the public_id and therefore overwriting it, will I be able to retrieve the older version? Is there an endpoint for retrieve the file version history and get the file versions timestamps?

     

    Thank you.

  • Avatar
    Marissa Masangcay

    Hi Agustín,

    I apologize for the delay in response.

    Upon overwriting an image you will be able to retrieve an older version if you have automatic backup enabled and want to revert to a specific version.
    You can read more on how to do that in this article:
    https://support.cloudinary.com/hc/en-us/articles/214000185-How-to-restore-an-overwritten-deleted-resource-from-backup-

    If you want to simply access/view a versioned image you can also click on the version number which will bring up the corresponding image and you can download the image from there.
    You can read more on this here:
    http://cloudinary.com/blog/automatic_backup_of_user_uploaded_images_using_cloudinary

    However, if you would like to have multiple versions of an image you can always place them into a folder so that you can consolidate the different image versions all into one place without having to switch back and forth. Then you can have a setup similar to something like test_folder/img1, test_folder/img2, etc.

    Thanks,
    Marissa

Please sign in to leave a comment.