Announcement

#16 2015-10-18 21:33:55

flop25
Piwigo Team
2006-07-06
7037

Re: Metadata

jeroenroelofsen wrote:

This helps a bit; now when I syncronise a photo again I get;

Code:

Warning:  [mysql error 1054] Unknown column 'FocalLength' in 'field list'

UPDATE piwigo_images
  SET filesize = '181',
    width = '1600',
    height = '590',
    FocalLength = '46/1',
    date_metadata_update = '2015-10-18'
  WHERE id = '192' in /home/landmarks.nl/public_html/foto/include/dblayer/functions_mysqli.inc.php on line 830



Warning: Cannot modify header information - headers already sent by (output started at /home/landmarks.nl/public_html/foto/include/dblayer/functions_mysqli.inc.php:829) in /home/landmarks.nl/public_html/foto/include/page_header.php on line 101

my bad my bad
the use_** options are to register in database and so it's not for extra entries

$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'DateTimeOriginal',
  'COMPUTED;ApertureFNumber',
  'FocalLength'
  );
should be ok


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

 

#17 2015-10-18 21:35:42

jeroenroelofsen
Member
2015-02-25
9

Re: Metadata

Thank you Flop25



It works now, only it shows

Code:

FocalLength 46/1

How to get rid of the /1?

Last edited by jeroenroelofsen (2015-10-18 21:39:04)

Offline

 

#18 2015-10-18 21:37:39

flop25
Piwigo Team
2006-07-06
7037

Re: Metadata

jeroenroelofsen wrote:

My custom.inc.php

?
Use Localfiles Editor
And if you don't put others like DateTimeOriginal they will be not displayed because iy completely overwrite default config


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

 

#19 2015-10-18 21:40:48

jeroenroelofsen
Member
2015-02-25
9

Re: Metadata

Sorry, my bad, missed your latest post. Changed the code to the one you proposed.
Now it displayes and updates correct, only the /1 is also shown. Can I get rid of this?

http://www.landmarks.nl/foto/picture.ph … ategory/12

Last edited by jeroenroelofsen (2015-10-18 21:41:21)

Offline

 

#20 2015-10-18 23:04:07

flop25
Piwigo Team
2006-07-06
7037

Re: Metadata

hmm tricky
that would need a custom small plugin using a prefilter to remove those two last characters


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

 

#21 2015-10-20 21:34:26

jeroenroelofsen
Member
2015-02-25
9

Re: Metadata

Thanks, intalled a exif plugin and now things are displayed according to my wishes.

Problem solved!!!!

Offline

 

#22 2015-10-21 14:10:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Metadata

Yes, [extension by maple] EXIF View was designed exactly for this :-)

Offline

 

Board footer

Powered by FluxBB

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