Hello,

I have installed XMP_PHP_Toolkit extension. But somehow, Drupal can't read XMP metadata.
I can't see any XMP list on this page. In page admin/config/media/exif

Notice: Undefined variable: arTagNames in Exif->readXMPTags() (line 338 of /www/sites/all/modules/exif/exif.class.php).
Warning: Invalid argument supplied for foreach() in Exif->readXMPTags() (line 338 of /www/sites/all/modules/exif/exif.class.php).

Please help. Thx.

CommentFileSizeAuthor
#2 exif-xmp-fix-1351528-2.patch4.21 KBtte

Comments

jphautin’s picture

Assigned: Unassigned » jphautin
Priority: Normal » Critical
tte’s picture

StatusFileSize
new4.21 KB

Here's a patch I made which takes care of XMP support. Tested with the latest version of XMP PHP Toolkit, 2.0-rev14. I've also stripped some white space.

jphautin’s picture

Status: Active » Fixed

patch apply on dev version.
thanks speely.

Automatically closed -- issue fixed for 2 weeks with no activity.