Pages: 1
Hi,
By default, if IPTC is enabled in your config file, the Caption-Abstract field goes into Piwigo's description (comment) field. But I want it to go into the title (name) field. How do I achieve that? I tried the following, but it didn't work:
$conf['show_iptc_mapping'] = array(
'name' => 'Caption-Abstract'
);
$conf['use_iptc_mapping'] = array(
'name' => 'Caption-Abstract'
);
Thanks!
Piwigo version: 2.7.2
PHP version: 5.6.7-1
MySQL version: 5.5.42-1
Piwigo URL: http://www.malcolm.id.au/gallery
Offline
Hi :-)
I think
$conf['show_iptc_mapping'] = array(
'name' => '2#120'
);
$conf['use_iptc_mapping'] = array(
'name' => '2#120'
);
Offline
Thanks, that works. By the way, where are those numbers documented? I've seen that other people seem to be able to use metadata.php to show those numbers, but for me it only shows the field names.
Offline
what exactly give syou tools/metadata.php ?
Offline
Oh sorry I was wrong! It's at the top of the output but I missed it, thinking it was just a header:
Informations are read from sample.jpg<br><br><br>IPTC Fields in sample.jpg<br><br>2#000 = ^D<br>2#120 = Title of the photo<br><br><br>EXIF Fields in sample.jpg<br><pre>Array
(
[FileName] => sample.jpg
[FileDateTime] => 1483133532
[FileSize] => 4869528
[FileType] => 2
[MimeType] => image/jpeg...
Offline
Pages: 1