Greetings,
I use the Bootstrap Darkroom and Piwigo 15.3.0
OS: Linux
PHP: 8.3.14-nmm1 (Info anzeigen) [2025-01-09 18:32:30]
MySQL: 10.6.18-MariaDB-0ubuntu0.22.04.1-log [2025-01-09 18:32:30]
Image DLL: ImageMagick ImageMagick 6.9.11-60
Piwigo URL: https://foto.yogie.de
Plugins:
Additional Pages
Admin Tools
GThumb+
Perso Footer
I like to display EXIF data permanently, also when photos are viewed from the slideshow, image page and in full screen mode. With EXIF I also mean GPS coordinates if available at the image (preferred with a link to OpenStreetMap and the location).
I tried the plugins for EXIF data, but either I did it wrong or they do not work. Beyond that the metadata is always somehow behind a button and not being displayed all time without the need to click somewhere.
Any idea and help appreciated. Many thanks in advance!
Last edited by Yogie (2025-01-09 18:39:48)
Offline
Hi,
With Bootstrap Darkroom, there are 3 possibilities to display the picture information.
You have set it for the sidebar, but have you tried the 2 others : card grid below the image or tabs below the image ? It could be closer to what you wish without forking the Piwigo.
Offline
Hello Yogie.
What's the problem? A slide show is a slide show and full screen mode is full screen mode, for photos and images. All of them together don't work. Your visitors can simply press a button to see the Exif data. Since the Exif data is not automatically saved in the database, you have to enter the data (tags and GPS coordinates) into OpenStreetMap yourself.
Greetings
Olaf
Offline
Katryne wrote:
Hi,
tabs below the image
Hello Katryne,
many thanks for the hint, seems I missed to test the tabs one, which is what I like the most and suits my needs. With just one question left, can I make a specific tab be the active one? I like to have the EXIF tab to be the default (open) tab.
Many thanks for your hint again!
Last edited by Yogie (2025-01-10 07:28:39)
Offline
Hi Olaf,
sure, it is, just checking out the capabilities with Piwigo. In a different web software that I use I have a lightbox slide show in which I have the option to display EXIF information.
So again, I know the difference but with software you have all doors open and can do whatever you can imagine, if you are a programmer though :-D
Offline
I think I already have the solution :-)
I added this CSS to my Bootstrap theme:
/* hide first tab */
.nav-item:first-child {
display: none;
}
/* set metadata as active tab */
.nav-link[href="#tab_metadata"] {
}
#tab_metadata {
display: block !important; /* show content of tab metadata */
}
#tab_info {
display: none !important; /* hide info tab */
}I don't know if that can be done different or the CSS can ba optimized but at least I got it to work.
BTW - I opted to not show any info, but still the first tab for the Info was generated and displayed empty, I now opted for not having comments allowed which is now resulting the third tab for comments to be hidden, which is what I would expect for the info tab too. Anyways now it displays as I want it.
Last edited by Yogie (2025-01-10 08:19:08)
Offline
Now the remaining question would be, if there is an option or way to select, which EXIF data is displayed. From what I can see is, that between an iPhone image and an Canon 5D Mark IV even the number of items varies. So how is EXIF handled?
Last edited by Yogie (2025-01-10 14:58:20)
Offline
Below is what I have in the 1st tab of the plugin Local Files Edito, pick your choice !
$conf['show_exif'] = true; $conf['show_exif_fields'] = array( 'DateTimeOriginal', 'Make', 'Model', 'ExposureProgram', 'FocalLengthIn35mmFilm', 'FNumber', 'ExposureTime', 'ISOSpeedRatings', 'Flash', 'WhiteBalance', 'UserComment' ); $conf['show_iptc'] = true; $conf['show_iptc_mapping'] = array( 'iptc_creator' => '2#080', 'iptc_title' => '2#005', 'iptc_headline' => '2#105', 'iptc_description' => '2#120', 'iptc_keywords' => '2#025', ); $conf['use_exif'] = true; $conf['use_iptc'] = true;
All this comes from the reference file you can reach by clicking on the link called " Display reference file: "config_default.inc.php" above the field of the 1st tab of Local File Editor.
Offline