Hello,
I want to display the GPS lat / long data in EXIF Metadata of the photo. When I put the followings in LocalFiles Editor, it returns an error in a web page:
Warning: strip_tags() expects parameter 1 to be string, array given in /var/www/html/piwigo/include/functions_metadata.inc.php on line 205
Warning: strip_tags() expects parameter 1 to be string, array given in /var/www/html/piwigo/include/functions_metadata.inc.php on line 205
Config in LocalFiles Editor
<?php
$conf['show_exif_fields'] = array(
'GPSLatitude',
'GPSLongitude',
'DateTimeOriginal'
);
?>
Piwigo 2.9.4
Operating system: Linux
PHP: 7.0.30-0ubuntu0.16.04.1 (Show info) [2018-07-28 15:41:49]
MySQL: 5.7.20-0ubuntu0.16.04.1 [2018-07-28 15:41:49]
Graphics Library: GD 2.1.1
Offline
When you have a problem, please search the forum to see if it's already there.
After you have exhausted your search, then create a new topic, and explain all the troubleshooting you tried.
Thanks.
https://piwigo.org/forum/viewtopic.php?id=26785
https://piwigo.org/forum/viewtopic.php?id=28735
Offline
Hi,
Thank you for your feedback. I did a search and resolved the problem.
$conf['show_exif_fields'] = array(
'latitude',
'longitude',
'DateTimeOriginal',
);
Offline