Gets 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.
$file
Sortie :
@param string $file @return array|false Image metadata array on success, false on failure.
// Utilisation de la fonction wp_read_image_metadata
$result = wp_read_image_metadata($file);
if ($result) {
// Votre logique ici
}
Chargement des actualités...