Can I attach an image to a different post?

Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? Or, is there a way to re-assign an image that’s already in the Media Library?

2 Answers

This works for me:

I’ve saved this as a snippet in my IDE for use in projects. Very handy!

Leave a Comment