The images are linked to a blog post, but it is possible that the image could be saved & the blog feed not updated. And that's fine, it just means you would have a stray image sitting in ipfs. In that case you would re-post the post.
Could make a call to see if the given image filename exists already in webnative.
Solution
You could use a hash of the image as the filename, that way it would automatically de-duplicate the images if you wrote the same one again when you re-post the post.
Summary
Should not save the same blob multiple times
Problem
The images are linked to a blog post, but it is possible that the image could be saved & the blog feed not updated. And that's fine, it just means you would have a stray image sitting in ipfs. In that case you would re-post the post.
Could make a call to see if the given image filename exists already in webnative.
Solution
You could use a hash of the image as the filename, that way it would automatically de-duplicate the images if you wrote the same one again when you re-post the post.