WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Can WP extract the IPTC/EXIF caption info to "Caption" instead of "Description" (8 posts)

  1. ddegner
    Member
    Posted 4 years ago #

    When I upload images into posts the EXIF/IPTC information is extracted beautifully, but WordPress puts the main body of text in the "Description" field instead of the "Caption" field. I won't judge the redundancy of these fields, but is there any non-hack way for the EXIF/IPTC caption info to be extracted into the "Caption" field?

    The real problem arrises because I am using SlideShowPro and SlidePress to display my images and it displays the "Caption" field and ignores the "Description" field.

    Is there something I am overlooking? This must be a common problem because I am running a vanilla install with the latest WP, SSP, and SP. I could hack into the code in several places and fix the misalignment but I would rather have some official fix.

    P.S. I think this is a new problem that came with some update in WordPress's code because I have vague memories of it working before.

    http://www.IncendiaryImage.com

  2. ddegner
    Member
    Posted 4 years ago #

    Bump,

    I'm asking around on other forums and feel like I'm overlooking something.

    Why would wordpress extract the industry standard IPTC/EXIF Caption that is embeded in an image and put it in the "Description" field leaving the "Caption" field empty?

  3. ddegner
    Member
    Posted 4 years ago #

    Bueller, Bueller...

    Im still running into this problem. If anyone else sees it as a problem email me and we can start a revolution

  4. Alexander
    Member
    Posted 4 years ago #

    I'm also curious to know this. So please let me know when you find out. Thanks!

  5. ddegner
    Member
    Posted 4 years ago #

    Thanks, I was starting to feel alone there.

    It is such an odd programming choice. If someone could explain it to me I'd be happy.

  6. Dartanjan
    Member
    Posted 3 years ago #

    I don't have the time now, but I think this could be changed/fixed with a little filter.
    wp_read_image_metadata
    filter can be used to filter the IPTC fields, and as a rough guess you should be able to set something like:
    $meta['title'] = $meta['caption']
    or similar.

    Hope that helps a bit.

  7. ale3andros
    Member
    Posted 3 years ago #

    Anyone with some insight on this?

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    Please post a new topic with details of your specific question/issue.

Topic Closed

This topic has been closed to new replies.

About this Topic