Announcement

#1 2018-07-28 17:49:20

davidfungf
Member
2018-07-28
2

GPS Data Display in Photo by LocalFiles Editor

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

 

#2 2018-07-28 23:21:20

executive
Member
2017-08-16
508

Re: GPS Data Display in Photo by LocalFiles Editor

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

 

#3 2018-07-29 03:27:49

davidfungf
Member
2018-07-28
2

Re: GPS Data Display in Photo by LocalFiles Editor

Hi,

  Thank you for your feedback. I did a search and resolved the problem.

$conf['show_exif_fields'] = array(
  'latitude',
  'longitude',
  'DateTimeOriginal',
  );

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact