Pages: 1
Hi
This is my first post here. I'm evaluating Piwigo as a simple personal image gallery. I decided to use the Bootstrap Darkroom theme, as it seems like it has recent updates.
I have two problems:
1. My photos have EXIF description/caption metadata but this isn't being displayed. If I un-check the " Use description rather than title for images" checkbox in the theme configuration then the title (e.g. "0798.jpg") is displayed. If check it then nothing is displayed, but I want the description to be shown. This happens on the album view as well as the individual image view. Does anyone have any suggestions for what I might be doing wrong?
2. Is there a way to remove the "Contact webmaster" link? This exposes my email address, and I'd rather not show it.
Environment:
Piwigo 15.3.0
Installed on 12 January 2025
Operating system: Linux
PHP: 8.1.22
MySQL: 10.6.16-MariaDB
Graphics Library: ImageMagick ImageMagick 7.1.0-50
Cache size N/A never calculated
Thanks,
Andy
Offline
1/ With Bootstrap Darkroom, there are 3 possibilities to display the picture information.
sidebar, card grid below the image or tabs below the image. Maybe the exif will be displayed if you choose another option ?
If not, here is what I entered in the 1st tab of Local Files Editor :
$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;
2/ Here is what I did to remove the Contact link in the footer, following ddtddt advices :
Add to the Local Files Editor personal plugin :
add_event_handler('loc_end_page_tail', 'removecontact');
function removecontact() {
global $template;
$template->clear_assign('CONTACT_MAIL');
}To achieve this you should install the plugins Local Files Editor and Personnal plugin. Then this code is to be add in Local Files Editor, Personnal plugin tab.
Offline
Hi Katryne,
Thanks for responding!
I added the first block of code and it does add the IPTC title and/or description to the exif metadata box. However, I was hoping to display this either in the information box, where it wouldn't need the user to click an "expand" button to see it, or even better under the photo (and thumbnail) itself. Using the browser tools I can see that the template positions a flexbox underneath the image, with an id of "imageComment", but it always seems to be empty. This is where I was hoping the description would appear. Do you have any thoughts on how to do this?
I tried your second suggestion, for removing the contact link, but this doesn't seem to work on my installation. And I think I read somewhere on this forum that it was obsoleted by a recent(?) change to the theme code. Are you aware of any other options?
Thanks again,
Andy
Offline
Andy, look at my site,, most recent releases for Piwigo, Bootstrap and plugins : there is no contact link in the footer and try to open a picture that has exif data (not all have) it's displayed correctly. I cannot say more.
https://album.chauvigne.info/picture?/2 … erica-2012
Offline
After investigating a bit further I realised I hadn't enabled the PersonalPlugin plugin. The code to disable the webmaster contact message now works for me.
Thanks again for your help.
Offline
Pages: 1