WordPress.org

Support

Support » Requests and Feedback » WordPress media gallery image delete trouble

WordPress media gallery image delete trouble

  • 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-150×150.jpg”, “picture-300×200.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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress media gallery image delete trouble’ is closed to new replies.