wp_read_image_metadata


wp_read_image_metadata ( $file )

Parameters:
  • (string) $file
Returns:
  • (bool|array) False on failure. Image metadata array on success.
Defined at:

Description

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.

Related Functions

wp_read_video_metadata, wp_read_audio_metadata, update_metadata, wp_get_image_editor, wp_add_id3_tag_data

Top Google Results

User discussions

wpseek mobile