Announcement

#1 2014-08-26 19:32:04

sara php
Guest

Piwigo don't see the metadata author

Hello everyone,
I have a problem with the identity of the author of the photo.

All photos the load via FTP and have already entered the metadata, but Piwigo fails to recognize the author automatically.

Doing a check on the metadata of a photo I noticed that the word author is associated with the number 2 # 080 that is not in the file config.inc.php.

Is there a way to be able to implement the metadata without having to manually put by Piwigo every time, because the archive has thousands of photos and it would be an impossible job.

thank you

 

#2 2014-08-26 20:01:58

SnotRocket
Member
2014-08-15
63

Re: Piwigo don't see the metadata author

FWIW, I have authors in/on all of my images as well... absolutely none of them show up.

Wasn't worth the effort to me to start a thread... but since you did :p

Offline

 

#3 2014-08-26 20:14:55

sara php
Guest

Re: Piwigo don't see the metadata author

I unfortunately can not I see instead the author and I would understand if you can solve the problem

 

#4 2014-08-28 01:12:08

sport
Member
2014-03-16
93

Re: Piwigo don't see the metadata author

i have fix this. :cool:

go to /plugins/exif_view
Open Main.inc.php,
Ad to the end Between } and ?>

Code:

if (isset($exifData['Artist'])) { 
      $exifDataArray['creator'] = $exifData['Artist'] ;
    } else { $exifDataArray['creator'] = ''; }

 if (isset($exifData['Copyright'])) { 
      $exifDataArray['copyright'] = $exifData['Copyright']; 
    } else { $exifDataArray['copyright'] = ''; }
        
    return $exifDataArray;

save and upload.

next.
Open LocalFilesEditor in piwigo admin
And ad

Code:

  'Copyright',
  'Artist',

http://s26.postimg.org/7ztmswtzd/exif_owner.jpg

Last edited by sport (2014-08-28 01:30:28)

Offline

 

#5 2014-08-28 09:19:03

flop25
Piwigo Team
2006-07-06
7037

Re: Piwigo don't see the metadata author

That could be done via the Local Configuration


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-08-28 13:48:33

michaelh99
Member
Texas
2014-08-19
39

Re: Piwigo don't see the metadata author

The directions for editing main.inc.php won't work.  You have people adding code outside of a function.

In the end, that doesn't matter as editing the plugin isn't necessary.

Just use the localfiles editor plugin and add:

$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'DateTimeOriginal',
  'COMPUTED;ApertureFNumber',
  'Artist',
  'Copyright'
  );

and those fields will show up

Last edited by michaelh99 (2014-08-28 13:59:02)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact