Support » Fixing WordPress » Delete Image does not delete image size variations

  • tbradley22

    (@tbradley22)


    When I delete an image from wordpress it only deletes the main image file on the server. The three additional images created in various sizes (thumbnail, medium, large) remain on the server. This is causing storage bloat. How can I set WordPress to also remove the other size variations at the same time as the main image file when deleting an image?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Pioneer Web Design

    (@swansonphotos)

    How are you ‘deleting’ these?

    tbradley22

    (@tbradley22)

    1. media > library > check image to delete > bulk actions (delete permanantly) > apply
    2. while editing a page clicking the image icon to add an image and the “add media” thickbox appears > media libary tab > show > delete > continue

    tbradley22

    (@tbradley22)

    is this standard behavior for wordpress 3.2.1? if not i’ll assume it’s interference from a plugin. or is it standard for wordpress to only delete the primary image and not the size variations? thanks.

    Jess

    (@jcull76)

    That is standard behavior as far as I have seen, yes. You can delete the others in batches via FTP.

    tbradley22

    (@tbradley22)

    ok thanks. that’s kind of a disappointment. any ideas why the others aren’t deleted by default?

    Jess

    (@jcull76)

    Nope.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Delete Image does not delete image size variations’ is closed to new replies.