WordPress.org

Ready to get started?Download WordPress

Forums

WordPress media gallery image delete trouble (2 posts)

  1. Victor Jalb?-?oimaru
    Member
    Posted 2 years ago #

    If you insert an image within a post or directly through the media gallery wordpress automagically creates thumbnails. EG: If your image name is let's say "picture.jpg", wordpress automagically creates several thumbnail versions of that file, "picture-150x150.jpg", "picture-300x200.jpg" and so on.

    But if you later choose to delete or replace "picture.jpg" all the other generated related files still remain in the "wp-content/uploads/" folder. Thus having to log via ftp and delete them manually. Bummer.

  2. Yes, this is a bummer. I don't think that there's an easy way to do get around this.

    Unfortunately, if you upload say picture.jpg, it is saved as such and then the next one is picture-2.jpg, which throws off the file naming in the image tag.

    What I normally do is go to my post, click the media upload, click on gallery, delete picture.jpg and then re-upload it. When I do this, then the picture is "replaced".

    This isn't ideal and only works if you use the picture in one instance, but it's the most efficient work around I've found.

Topic Closed

This topic has been closed to new replies.

About this Topic