• I am trying to upload some hundred pictures to a web gallery. Therefore, I upload them to the Media Library in WP. I want to have meaningful text in “title” and “description”. So I try to populate those fields before the upload so I don’t have to mess around with it in the Media Library (no chance to edit more than one picture at a time…).
    But here is my problem: Which IPTC or EXIF fields do I fill in? I haven’t found out which fields exactly WP is using to fill post_title and post_excerpt.
    My image gallery Nextgen Gallery Plus uses XMP-dc:Title and XMP-dc:Description. But WP doesn’t use these fields. It seems it uses EXIF ImageDescription to populate title as well as description.
    Is there any documentation that says which fields exactly are used to fill which field?
    Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dl1mgb

    (@dl1mgb)

    It would help if WP is working according to this reference…

    For example:
    [“title”]
    (string) Set to the first non-empty value found by looking through the following fields:

    IPTC Headline field (2#105)

    I had filled only this field with text. WP just put the filename into the title field.

    —————
    [“caption”]
    (string) Set to a non-empty value of one of the following fields (see source code for the precise logic involved):

    IPTC Description field (2#120)

    Same here. Text in this field, but WP wasn’t interested at all and left description blank.

    So this reference is nice, but useless.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where does WP get metadata of images from?’ is closed to new replies.