• Resolved gnits

    (@gnits)


    This plug-in looks very impressive.

    Can you please advise how I might map the Lightroom Title Field to the WordPress Caption field (ie used directly under an image as an image title)

    This Title field I think falls between both Exif and IPTC fields (happy to get clarity on this point), but if I could map this field it would save me a lot of grief.

    (Note. Not to be confused with Lightroom Caption / Description field which already maps to WP Description field)

    Regards,

    https://www.ads-software.com/extend/plugins/media-library-assistant/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Lingren

    (@dglingren)

    I don’t have a copy of Adobe Lightroom; I’ve been using Adobe PhotoShop to add metadata to my images.

    In PhotoShop, the “Description” tab of the “File Info” dialog box contains a “Document Title” field. This field maps to IPTC element “2#005 object-name”. I’d give that a try.

    If that doesn’t work, you can send me a couple of your images and tell me their Titles; I can see how Lightroom is coding them. The best way to proceed would be to send me your e-mail address and I will send you an address you can use to e-mail me your additional information. Go to the “Contact Us” page at our web site:

    Fair Trade Judaica/Contact Us

    Thanks for the kind words and for using the plugin.

    Thread Starter gnits

    (@gnits)

    I have progressed a lot since my post, and think I nearly have it cracked. I have to say that WP wp_read_image_metadata is a serious mess and should be an embarrassment to all concerned.

    I am delighted to get your response.

    Your partly correct about mapping to 2#005 but there is a big gottcha with this approach, as that field only holds a max of 64 chars.
    [I am not sure where this restriction lies, maybe IPTC spec), but is bound to cause embarrassment to someone downstream when parts of their caption disappear.

    Also, I am never comfortable using the Photoshop File Info screens. For example, Headline is another important field in the Lightroom / WordPress world, but while it appears in Lightroom as an editable metadata field, it does not appear (that I can see and would love to be corrected) in the PS file info display.

    An alternative for any Lightroom fans reading this is to use the Exif Field called User Comment (UserComment in your Exif column worked for me). This is actually stored within the Exif data on a jpg and is not restricted the same as the 64 chars of the IPTC field 2#005. Plus, it can be maintained in Lightroom.

    I have also found a bug. I will send you details via your web site contact.

    Regards,

    Matt O’Brien

    Plugin Author David Lingren

    (@dglingren)

    Thanks for the quick follow up and the excellent example. I was able to pull a copy of your image and reproduce the issue. PhotoShop doesn’t support the UserComment field in any way I can find, so your test case was very helpful.

    It’s not exactly a bug, because what you see is exactly what’s in the raw EXIF data; an eight-byte, null-filled character code area followed by the comment text. On the other hand, it’s not exactly useful, either. Here’s what the PHP manual has to say:

    https://php.net/manual/en/function.exif-read-data.php

    I am enhancing the plugin to access the array data returned by exif_read_data. For example, the comment text you really want will be available as “COMPUTED.UserComment”. You could also get “COMPUTED.Copyright” and its two parts, “COMPUTED.Copyright.Photographer” and “COMPUTED.Copyright.Editor”. The THUMBNAIL and COMMENT arrays should work in a similar fashion.

    I’ll get a new version out in the next day or so. Thanks again for your help!

    Plugin Author David Lingren

    (@dglingren)

    I have just released version 1.13, which includes the improved EXIF support I outlined in my earlier message. Please let me know is you have any issues with the feature, questions or further suggestions.

    Thanks for suggestion and for using the plugin!

    Thread Starter gnits

    (@gnits)

    I will check it out… but busy for next day or so.

    Regards.

    Thread Starter gnits

    (@gnits)

    I can now get the User Comment mapped correctly. I have not done an extensive test, but happy with what I have seen so far.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lightroom Title to WordPress Caption’ is closed to new replies.