Marvelous work dudes. Bravo.
—
When I upload a file, WordPress will auto-size if enabled. These images, automatically generated are not removed from the bucket.
WP Admin > Settings > Media –> http://share.maggew.com/settings-media.png
I have advanced option “Remove File From Server” Turned On in the AWS S3 Cloudfront options page. The auto-sized images are not removed, but the original is. Here are my settings –> http://share.maggew.com/options-aws.png
—
Perhaps your just missing a line of code? Hey I also wanted to thank you for turning me onto slack – thanks @bradt!
https://wordpress.org/plugins/amazon-s3-and-cloudfront/