• I’ve got a site where I’d love to be able to easily delete all photos associated with a specific post from the server.

    I know it’s possible to check multiple checkboxes in the Media Gallery to bulk delete, but those can’t be filtered by post.

    What I am looking for is more of a ‘zap all images attached to this post’ button that deletes the files and removes the database record.

    If there is no plugin to do this I might have a go at writing one, but I thought I’d ask you lovely WordPress people first and see if I’m missing something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You can sort by ‘attached to’ actually in the media tab (in 3.2 at least), so unless you have 30+ images per post, it’s not terrible horrific.

    Thread Starter cycas

    (@cycas)

    Oh can you? Is that a new 3.2 feature, I can’t spot it?

    I have rather a bunch of plugins on this install and some of them are not yet 3.2 ready so had been deferring the update for a little while.

    I do have rather a lot of images per post on this site though, some of them more than 30.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Go to the screen options in the media page and see if “Attached to” is there. But yeah, on 3.2 it’s there.

    Thread Starter cycas

    (@cycas)

    I’ve currently got ‘attached to’ shown as a column heading but I can’t filter on it.

    Will doublecheck those plugins and hope an update to latest build will do the job.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bulk delete all images associated with a post?’ is closed to new replies.