Opened 5 years ago

Last modified 18 months ago

#7580 new feature request

Use Exif description to autofill the caption

Reported by: mrmax Owned by:
Priority: high Milestone: Future Release
Component: Upload Version: 2.6
Severity: normal Keywords: needs-patch
Cc: RanYanivHartstein

Description

Hello,
I test a lot of softwares to create a Exif description for my pictures.
Like "Exif Farm" or other kind of this softwares.
But When I Upload this picure in wp 2.6 the description will not show!
but i have some picture from the web, and when i upload them, wordpress show the description of it automatically in description Box!
like this picture:
http://www.hinhxinh.com/data/media/8/Beijing_Olympic_2008_-___075.jpg
and show description on it correctly:
http://i33.tinypic.com/2yyqk1t.jpg
Please tell me:
the problem is from Wp,
Or My software is not original?
So What should i do to show Description Exif Data in wp Correctly?

Change History (9)

  • Milestone set to Future Release
  • Priority changed from high to low
  • Type changed from defect (bug) to enhancement

based on phpdoc, for wp_read_image_metadata():

 * Get extended image metadata, exif or iptc as available.
 *
 * Retrieves the EXIF metadata aperture, credit, camera, caption, copyright, iso
 * created_timestamp, focal_length, shutter_speed, and title.
 *
 * The IPTC metadata that is retrieved is APP13, credit, byline, created date
 * and time, caption, copyright, and title. Also includes FNumber, Model,
 * DateTimeDigitized, FocalLength, ISOSpeedRatings, and ExposureTime.
  • Keywords needs-patch added
  • Component changed from General to Upload
  • Owner anonymous deleted
  • Summary changed from I have a problem with Exif Data In wp 2.6 to Use Exif description to autofill the caption
  • Type changed from enhancement to feature request
  • Milestone changed from Future Release to 2.9
  • Priority changed from low to high

comment:5   ryan3 years ago

  • Milestone changed from 2.9 to Future Release

Related: #9417

This ticket needs to be reviewed again I think exif data is reflected. I suggest to close as wontfix in the meantime.

Just reviewed again. Description should than be added to the list of metadata to retrieve from exif + after upload it should be checked for that value to fill the description field.

  • Cc RanYanivHartstein added

IPTC metadata can also be better handled.

Picasa saves image captions created by users in the IPTC Caption field. In Picasa, this is called "Make a Caption!".

However, when uploading these images, WP uses the IPTC Caption field for the Image Title field, and the Caption field remains empty.

Since Picasa is a very popular photo management tool, and since it the IPTC Caption field sounds like a good candidate for being used as an image caption in WP, I believe it would make sense to use data from the IPTC Caption field to auto-fill the Caption field on WP.

To reproduce this, use Picasa to add a caption to an image and upload that image to WP install. I was able to reproduce this on WP 3.0.

I made a quick plugin to fix this minor problem with Picasa captions a few months ago. Looks like the fields are just being used wrongly by WP to me.

Although different programs creating EXIF may be using them differently, so a wide variety of sample images with auto-generated EXIF information might be useful to get a feel of how the IPTC fields are actually being used by devices.

http://ottopress.com/2011/picasa-and-wordpress-and-captions/

Note: See TracTickets for help on using tickets.