I need to validate the image stream of a fetched (and transformed) image. After retrieving a fetch image, can I obtain an MD5 of the image from (presumably the cached CDN image that has had the transforms applied) to compare with the MD5 I am calculating on the receiving end in order to verify the reception of the transformed fetch image?
Step 1: I get the image using the image fetch URL. The image is fetched by Cloudinary from a URL, the transforms are applied and the image is cached in the CDN.
Step 2: I make an admin request to Cloudinary for information about the cached image in order to obtain the MD5 calculated by Cloudinary of the image in the CDN cache.
Step 3: Compare Cloudinary's cache MD5 with my locally computed MD5 to verify that the image arrived correctly.
How do I do Step 2?
Please sign in to leave a comment.