Delete Ghost images uploaded on AWS S3

143 Views Asked by At

I'm building a Ghost application and it will be hosted on Heroku that can not store image uploads so what I did is to search around on Google and I found a way to upload images directly to Amazon buckets.

After a 4 hours fight I've been able to upload and read images from the S3 to the Ghost blog but what I wish also to achieve is to delete an image I'm not using anymore.

Let's say I upload an image, I don't like it and I replace it with another. The S3 keep both images.

There is a way to delete both images from Ghost and S3?

I'm using ghost-s3-storage. Thanks

0

There are 0 best solutions below