Announcement

#1 2023-03-06 05:53:17

AK_CCM
Member
Donauwoerth (Germany)
2023-02-25
7

Title is missing on photo page

Hello,

does anyone know where I could configurate that the title between image and description is shown on the photo page again? I can't find the option anymore. I'm using Piwigo 13.6.0 and the Bootstrap Darkroom theme.

Thanks in advance

Regards, Andreas

Last edited by AK_CCM (2023-03-06 05:57:11)

Offline

 

#2 2023-03-08 22:16:32

AK_CCM
Member
Donauwoerth (Germany)
2023-02-25
7

Re: Title is missing on photo page

After some research and a local installation of a new Piwigo instance, I have to correct myself: On the image detail page, no name/title of the image (not to be confused with the file name of the image) is shown. Only the description is displayed under the image.

Does anyone know where I could suggest this feature for further development of the theme? Because it would be great if both the name/title and description of the image could be displayed on the detail page.

Offline

 

#3 2023-03-08 23:12:02

erAck
Only trying to help
2015-09-06
1998

Re: Title is missing on photo page

It depends on where your image processing software is actually storing the title. If it behaves good it's in the IPTC 2#005 field. To display such titles, you'll have to enable IPTC and mapping in Piwigo, so to your local config add

Code:

// show_iptc: Show IPTC metadata on picture.php if asked by user
$conf['show_iptc'] = true;

// To know how to associate iptc_field with their meaning, use
// tools/metadata.php
$conf['show_iptc_mapping'] = array(
  'iptc_title'           => '2#005'
  );

Note that is just one example value of the show_iptc_mapping array. For more possible mappings see [Forum, post 166781 by ddtddt in topic 27721] Read and set tags from IPTC metadata.
Also see include/config_default.inc.php for how you could add show_iptc_mapping keys to translations (if you want, it works without but just displays the key as name value).

You may also want to add this to import some IPTC values into the database:

Code:

// use_iptc: Use IPTC data during database synchronization with files
// metadata
$conf['use_iptc'] = true;

// use_iptc_mapping : in which IPTC fields will Piwigo find image
// information ? This setting is used during metadata synchronisation. It
// associates a piwigo_images column name to a IPTC key
$conf['use_iptc_mapping'] = array(
  'keywords'        => '2#025',
  'author'          => '2#080', // not 2#122, see https://piwigo.org/forum/viewtopic.php?pid=168381#p168381
  'name'            => '2#005',
  'comment'         => '2#120'
  );

I suggest to not use the 'date_creation' => '2#055' mapping found in the default config because that is date only and would override the EXIF date+time value.


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2023-03-20 15:41:32

Katryne
Member
2016-12-03
365

Re: Title is missing on photo page

In my experience, Piwigo never displays the title of the photo above it. The title is in the breadcrumb trail and eventually in the photo information. I have only used Modus or Bootstrap Darkroom as a theme.
To achieve the result  I wanted with Modus like this
https://dardennes.revestou.fr/picture?/ … es-moulins

or this with Bootstrap
https://album.chauvigne.info/picture?/N … s_de_nancy

, I needed a lot of help and was shown how to use personal plugins and Template extensions.
With each update, I struggle to find the instructions and this causes me a delay of several months in updating each time.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#5 2023-03-23 00:44:01

erAck
Only trying to help
2015-09-06
1998

Re: Title is missing on photo page

BigIsland270972 wrote:

erAck wrote:

Also see include/config_default.inc.php for how you could add show_iptc_mapping keys to translations (if you want, it works without but just displays the key as name value).

How do you configure translations with the IPTC data in Piwigo?

? do as it says:

Code:

// For each key of the array, you need to have the same key in the
// $lang array. For example, if my first key is 'iptc_keywords' (associated
// to '2#025') then you need to have $lang['iptc_keywords'] set in
// language/$user['language']/common.lang.php. If you don't have the lang
// var set, the key will be simply displayed

For language/$user['language']/common.lang.php substitute the languages you want to offer, like language/nb_NO/common.lang.php


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

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