Support » Fixing WordPress » What does Attach in Media Library do?

  • Resolved mbolsinga


    I’ve seen questions about how to attach media to a post or page, but haven’t been able to understand what “attaching” does? Is it only an organizational feature, so you know what images relate to what posts? Or does it actually do something that makes the image only usable to the attached post/page? I usually upload all media at once, and then insert into posts or pages later, so it doesn’t automatically get “attached” I’ve used the Media Library to later attach those images, but I’m not sure I need to.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s more of an organizational hierarchy rather than some rigid access control system. WordPress doesn’t restrict you from adding images from other posts to new posts. Really, the only times I’ve ever seen “attaching” an image to have functional significance is if you’re using WordPress to generate galleries or list attached media via a function.

    (That said, in practical use, I’ve generally just uploaded images on a post-by-post basis, so they get attached by default, which can be useful for said organizational benefits.)

    There’s another post on the topic you can check out at

    I hope this helps!

    Thanks for the quick reply, and the other reference. This clarifies it for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What does Attach in Media Library do?’ is closed to new replies.