Duplicate Images and View Images for a date range
Hello Team,
Could you please share the way of identifying duplicate images on Cloudinary and how to view images between date range?
Thanks
-
Hi Shelendra,
Please note that we don't automatically detect duplicated images, we offer various tools for you to check for duplications on your end.
- If you want to restrict overriding images (i.e., uploading a new image that its public ID is already taken), then you can set the
overwrite
parameter tofalse
at the upload call. - If you want to check whether the new uploaded image was already uploaded to your account (under a different public ID), then every upload call also returns the
etag
parameter. It's the same ETag that will be returned when the resource is accessed, and can be used as a signature for the resource, then you can store it in your DB and compare it with the list of ETags you already stored. - We support returning the PHash value of images to check for similar images, for more information - http://cloudinary.com/blog/how_to_automatically_identify_similar_images_using_phash
Listing images by date range is on our roadmap, meanwhile, you can use our Admin API to list all your resources, and filter/sort the results on your end by date range. Note that in the Media library, the images are listed by created_at descending.
- If you want to restrict overriding images (i.e., uploading a new image that its public ID is already taken), then you can set the
Post is closed for comments.
Comments
1 comment