'How to delete a single Cloudinary image from browser?

Here I am using Cloudinary Upload widget to upload images into cloudinry. How can I delete a particular image from Cloudinary through browser(here I have image details like public_id,imageName,url,etc.)



Solution 1:[1]

Sami is right, the destroy endpoint is indeed one way of deleting a resource, from the client-side, although it requires first generating a signature on the server-side.

Unsigned deletion is also available using the delete-token (resource-specific token, valid for 10 minutes from the time of upload), you can read more about it here: http://support.cloudinary.com/hc/en-us/articles/202521132-How-to-delete-an-image-from-the-client-side-

Integrating the delete-token to the Upload-Widget is possible by setting the Return delete token to true in the upload-preset. See: http://support.cloudinary.com/hc/communities/public/questions/200788712-Upload-widget-how-to-get-delete-link-to-appear-next-to-thumbnails-?locale=en-us

Solution 2:[2]

Try to read/understand the doc : Delate an Image on Cloudinary - The Doc

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nadav Ofir
Solution 2 sami ghazouane