Title: Stop duplicate images from posts
Last modified: May 30, 2017

---

# Stop duplicate images from posts

 *  [juicyjuke](https://wordpress.org/support/users/juicyjuke/)
 * (@juicyjuke)
 * [9 years ago](https://wordpress.org/support/topic/stop-duplicate-images-from-posts/)
 * I’m wondering if there is a known way to prevent the same image based on file
   name from being published in a post.
 * Something along the lines of..
 * Yesterday I post
    Title: Fun stuff
 * Featured image: funstuff.jpg
 * Content:
 * I found this cool stuff etc etc…
 * 25 posts later the next week
 * An author to my site trys to use the funstuff.jpg to discuss something else.
 * Instead he gets a warning “can’t use funstuff.jpg it’s already used once”
 * How would I go about coding this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years ago](https://wordpress.org/support/topic/stop-duplicate-images-from-posts/#post-9177749)
 * try reviewing this tutorial:
    [http://www.wpbeginner.com/beginners-guide/how-to-fix-featured-images-appearing-twice-in-wordpress-posts/](http://www.wpbeginner.com/beginners-guide/how-to-fix-featured-images-appearing-twice-in-wordpress-posts/)
 *  Thread Starter [juicyjuke](https://wordpress.org/support/users/juicyjuke/)
 * (@juicyjuke)
 * [9 years ago](https://wordpress.org/support/topic/stop-duplicate-images-from-posts/#post-9183384)
 * Thanks, that tutorial is instructing me how to prevent duplicate images in a 
   post.
 * I’m trying to prevent an image from being used again once it’s been used once

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Stop duplicate images from posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [juicyjuke](https://wordpress.org/support/users/juicyjuke/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/stop-duplicate-images-from-posts/#post-9183384)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
