Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#28663 closed enhancement (invalid)

Media Library: List all attached posts/pages for each image

Reported by: tedinoz Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: Media Keywords: has-patch
Focuses: Cc:


An image can be attached to many posts/pages, but there is no way in the Media Library to identify/trace/find them. The "Uploaded to" column in the Media Gallery shows only the first post/page, even if there are multiple attached posts/pages.

Could the Media Library screen be modified so that a user can find all the attached posts/pages for each image and not just the first post/page.

Though the existing layout might not suit, there are many UI alternatives.


Attachments (2)

28663.patch (1.4 KB) - added by gauravmittal1995 7 years ago.
Patch file
28663.2.patch (1.2 KB) - added by gauravmittal1995 7 years ago.
Patch File, Ignore above file

Download all attachments as: .zip

Change History (6)

#1 @gauravmittal1995
7 years ago

If we link multiple posts, even though the grid view looks fine, it will create a problem in the list view, as it makes a single column in a table become big. Therefore I think it is better to rename the "Uploaded to" - "First Upload"

7 years ago

Patch file

7 years ago

Patch File, Ignore above file

#2 @gauravmittal1995
7 years ago

  • Keywords has-patch added

#3 @helen
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

While media can be used in any number of posts, in reality the "attached" (or "uploaded to") portion of an attachment can only refer to one post, as it uses the post_parent field.

#4 @swissspidy
4 years ago

#41460 was marked as a duplicate.

Note: See TracTickets for help on using tickets.