WordPress.org

Ready to get started?Download WordPress

Forums

Delete Image does not delete image size variations (7 posts)

  1. tbradley22
    Member
    Posted 1 year ago #

    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?

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    How are you 'deleting' these?

  3. tbradley22
    Member
    Posted 1 year ago #

    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

  4. tbradley22
    Member
    Posted 1 year ago #

    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.

  5. Jess
    Member
    Posted 1 year ago #

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

  6. tbradley22
    Member
    Posted 1 year ago #

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

  7. Jess
    Member
    Posted 1 year ago #

    Nope.

Topic Closed

This topic has been closed to new replies.

About this Topic