Make WordPress Core

Opened 5 years ago

Closed 18 months ago

#47097 closed enhancement (wontfix)

Image metadata is not copied in the library

Reported by: pif's profile pif Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1.1
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description (last modified by joedolson)


I found an issue with Gutenberg. Adding an image is nicely done BUT when prompted to add [metadata], the text does not update the media library.

This is an issue because, in the classic editor, you add a media then add it into the article. Therefore, the media is correctly labeled in your library and can be easily found again, should the need arise.

Now, legends are only valid in the articles and the pictures are left alone in the library. There is no way to find them again, for a re-use in another article.

So it would be nice if the adding media process would correctly tag the media, inside the library and not only inside the articles.


Attachments (1)

Screen Shot 2019-08-22 at 4.02.06 PM.png (509.5 KB) - added by desrosj 5 years ago.

Download all attachments as: .zip

Change History (8)

#1 @afercia
5 years ago

  • Component changed from General to Editor

#2 @SergeyBiryukov
5 years ago

  • Component changed from Editor to Media

#3 @desrosj
5 years ago

  • Keywords reporter-feedback added
  • Severity changed from major to normal

Hi @pif!

Thanks for this ticket, and welcome to Trac! Sorry that it took a while to receive a response.

Are you still seeing this issue in the latest version of WordPress (5.2.2 at the time of this comment)? Can you clarify what you mean by "legend"? Screen Shot 2019-08-22 at 4.02.06 PM.png shows what I am seeing in the block editor, but I don't see any mention of a legend. I did test the Classic Editor as well. Any screenshots or detailed steps that you can provide to help me understand the issue are greatly appreciated.

#4 @pif
5 years ago

Legend is caption.

In the classic editor, when you add an image, you were prompted to add a caption, which was first stored in the media library then imported in the article (with the actual picture).

In Gutenberg, the picture import process does not use that media library phase. Therefore the caption is only stored in the article and not in the library. As a side effect, all media within the library are stored without any caption attached (and thus, pretty much lost for re-use).

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

18 months ago

#6 @joedolson
18 months ago

  • Description modified (diff)
  • Summary changed from Image legends are not copied in the library to Image metadata is not copied in the library

#7 @joedolson
18 months ago

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

This was a decision for the block editor, making an intentional change from how the classic editor had previously worked. This is in part because the usage of an image in a post should not impact how that image is used elsewhere.

You can update the caption in the media library by making that change before adding to the post. Any change made while in the media library or media modal will be applied to the media item; changes made in the post are only applied to that post.

Prior conversation:; some larger issues in #47456.

Note: See TracTickets for help on using tickets.