Ankündigung

#1 2022-04-04 14:51:37

SBuene
Mitglied
2022-04-04
1

Import GettyImages ohne Autor

Hallo,

beim Import von Fotos ist aufgefallen das der Autor nicht übernommen wird. Der Autor also der Fotograf in diesem Fall. Dieser ist aber in den Metadaten drin. Das ist ein bzgl. Copyright sehr wichtiges Feld, wie kann ist es möglich diesen von PiwiGo richtig auslesen zu lassen.

Auch das Fels Credit wäre von Interesse. Kann man zusätliche enthaltende metadaten in PiwiGo einfügen?
....

Bsp ausgelesene Metatdaten des Fotos:
Title:    1149549276
Headline:    Shiny ballon flying in the sky
Creator:    kaowenhua
Credit:    Getty Images/iStockphoto
URL:    https://www.gettyimages.com/eula?utm_me … gn=iptcurl
Special Instructions:    Not Released (NR)
Keywords:    carnival, ribbon, festive, celebrate, festival, light, colorful, party, object, card, background, isolated, air, hot, holiday, happy, color, entertainment, glossy, group, realistic, white
Date:    January 30, 2017   8:58:21AM (timezone not specified)
(5 years, 2 months, 4 days, 21 hours, 35 minutes, 33 seconds ago, assuming image timezone of US Pacific)
Location:    Taiwan
File:    5,760 × 3,840 JPEG (22.1 megapixels)   
7,668,664 bytes (7.3 megabytes)
Color Encoding:    Embedded color profile: “sRGB”

Offline

#2 2022-04-04 16:37:42

Slim
Piwigo Team Moderators
2013-03-09
770

Re: Import GettyImages ohne Autor

Hallo,

das sollte kein Problem darstellen.
Füge folgende Zeile unter "LocalFilesEditor" ein.

Code:

$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'ExifVersion',
  'Software',
  'DateTimeOriginal',
  'FNumber',
  'ExposureBiasValue',
  'FILE;FileSize',
  'ExposureTime',
  'Flash',
  'ISOSpeedRatings',
  'FocalLength',
  'FocalLengthIn35mmFilm',
  'WhiteBalance',
  'ExposureMode',
  'MeteringMode',
  'ExposureProgram',
  'LightSource',
  'Contrast',
  'Saturation',
  'Sharpness',
);

$conf['show_iptc_mapping'] = array(
  'iptc_title'           => '2#005',
  'iptc_byline'          => '2#080',
  'iptc_byline_title'    => '2#085',
  'iptc_byline_contact'  => '2#118',
  'iptc_keywords'        => '2#025',
  'iptc_caption'         => '2#120',
  'iptc_caption_writer'  => '2#122',
  'iptc_country_code'    => '2#100',
  'iptc_country'         => '2#101',
  'iptc_city'            => '2#090',
  'iptc_copyright'       => '2#116'
  );

$conf['use_iptc_mapping'] = array(
  'keywords'        => '2#025',
  'author'          => '2#080',
  'name'            => '2#005',
  'comment'         => '2#120',
  'country'         => '2#101',
  'copyright'       => '2#116'
  );

$conf['show_iptc'] = true;
$conf['use_iptc'] = true;

Slim

Offline

Brett Fußzeile

Unterstützt von FluxBB

github twitter newsletter Spenden Piwigo.org © 2002-2024 · Kontakt