• terrybailey

    (@terrybailey)


    I have an issue that I can’t resolve on my own.

    When I export images out of iPhoto it exports the caption as apple refers to as a “description” field. When I import the images into wp it places the caption in the “description” field within wp. The problem is that my photo slide show plugin will not show the caption because it pulls its data from the “caption” field in wp.

    So I have several questions and or options, but I don’t know the best way to proceed mad or get there.

    Question 1: can I get wp to import the description into the caption field on import?

    Question 2: can I duplicate the description content into the caption field after the upload?

    Question 3: should I modify the photo plugin php to pickup the description field instead of the caption field?

    Question 4: what is actually the best way to utilize these meta fields so that I don’t have to reinvent the wheel in the future with new wp updates or when I change themes?

    I know this can be done on a one at the time basis but I literally have thousands of images that I have to address.

    Sorry for the long message. Any help will certainly be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve just encountered the issue and have a partial solution, but will share the fuller one within a few days.

    I should note, I’m actually using Aperture, but the method should be the same.

    The Media Importer with 3.4.2 does a pretty good job of handling Code for correctly importing image caption as caption than description in WordPress is at https://gist.github.com/4025107.

    If your cozy with SQL, you can mass update your wp_posts table for attachments to set post_content to post_excerpt and then post_content to empty. Backup your DB first though.

    My helper for importing image keywords as alternate text and tags in WordPress – makes tags available in attachments is at https://gist.github.com/4025132.

    Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Importing and modifying Captions and descriptions’ is closed to new replies.