WordPress.org

Ready to get started?Download WordPress

Forums

Amazon S3 and Cloudfront
BuddyPress Remove Image from bucket when user delets (1 post)

  1. jwlou
    Member
    Posted 4 months ago #

    Hello, I am using this plugin with WordPress in a Budypress setup and it is working great. The only issue I'm having is that when a user deletes one of their own images, it is removed from their profile. It however remains in the S3 bucket.

    Has anyone come up with a way to have it delete the image from the bucket when a user deletes an image from their profile?

    I tried using a plugin that would detect unused images so I could just occasionally batch delete them but they didn't work properly since everything is being served from the cloud.

    Thanks in advance.

    EDIT: I would like to add that if I delete from the Media from the admin panel it does delete properly from the bucket. The issue is only in BuddyPress when a user deletes it.

    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.