Comments

7 comments

  • Avatar
    Itay Taragano

    Hi Leon,

    Currently there isn't an automatic way to consolidate duplicated images (although it is in our road-map to support it).

    In the meantime you can manually browse the thumbnails in the Media library of of your Cloudinary account and delete the duplicated images.

    1
    Comment actions Permalink
  • Avatar
    Leon Dewey

    HI,

     

    Is there any way to get a SHA1 (etc) of the images? Apart from downloading a full backup and doing it manually 

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    Hi Leon,

    We'll consider adding a SHA1 as part of the response. In the meantime, instead of downloading the whole files and creating the hash on your end, you can do a HEAD request and compare the ETag response (MD5 of the file's content).

    0
    Comment actions Permalink
  • Avatar
    Digital Operations

    Hi, Itay.

    How about an option to return the existing image reference when the uploaded image matches an existing image?

    It's similar to the de-duplication that Leon asked about but done on-the-fly, at the upload.

    0
    Comment actions Permalink
  • Avatar
    Digital Operations

    By the way, this not only saves space but improves performance because it allows the same object to be served (and cached) even if people upload the same image over and over again.

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    Thanks for the recommendation, we'll make sure to look into this as well

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    UPDATE

    Every upload call now 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.

    0
    Comment actions Permalink

Please sign in to leave a comment.