You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have uploaded a number of albums contains photos with description text in EXIF description, XPTitle, XPSubject, and in the IPTC caption. These descriptions are not displayed in the album thumbnail view or the individual photo view. I believe that they should be.
Context
I'm evaluating Piwigo with Bootstrap Darkroom as a personal gallery. Using the latest versions of both. I'm an experienced developer, but new to the software and the code and not very familiar with php.
Discussion
Using ExifPilot I have verified that the images I've uploaded have text in EXIF description, XPTitle, XPSubject, and in the IPTC caption. I can alsop see the IPTC description in the metadata card view.
This seems to be where the image description is supposed to be inserted into the generated html. But, using the browser page inspector, I'm not seeing a <div> with the id of "content-description" in my site's html -- so it seems like $CONTENT_DESCRIPTION is not being set. And github code search doesn't show it being set anywhere in either the core Piwigo repo or the Bootstrap Darkroom repo where it is set. I don't understand this: it seems like $CONTENT_DESCRIPTION should be being set and displayed, but isn't, and that this explains the symptoms I'm seeing.
Setup
Reproducible in up-to-date Firefox, Edge, and Chrome on Windows 11 x64.
I have "Show image caption" checked in the theme config. If I check or un-check "Use description rather than title for images" then I see the following
Un-checked: the image titles are displayed below the thumbnails (as I'd expect) but not below the full images.
Checked: titles are not displayed, and no descriptions are displayed either.
Changing the "Description display style" setting makes no difference to whether image descriptions are displayed.
Summary
I have uploaded a number of albums contains photos with description text in EXIF description, XPTitle, XPSubject, and in the IPTC caption. These descriptions are not displayed in the album thumbnail view or the individual photo view. I believe that they should be.
Context
I'm evaluating Piwigo with Bootstrap Darkroom as a personal gallery. Using the latest versions of both. I'm an experienced developer, but new to the software and the code and not very familiar with php.
Discussion
Using ExifPilot I have verified that the images I've uploaded have text in EXIF description, XPTitle, XPSubject, and in the IPTC caption. I can alsop see the IPTC description in the metadata card view.
Looking at piwigo-bootstrap-darkroom/template/index.tpl in the repo I can see the following:
This seems to be where the image description is supposed to be inserted into the generated html. But, using the browser page inspector, I'm not seeing a
<div>
with the id of "content-description" in my site's html -- so it seems like$CONTENT_DESCRIPTION
is not being set. And github code search doesn't show it being set anywhere in either the core Piwigo repo or the Bootstrap Darkroom repo where it is set. I don't understand this: it seems like$CONTENT_DESCRIPTION
should be being set and displayed, but isn't, and that this explains the symptoms I'm seeing.Setup
Reproducible in up-to-date Firefox, Edge, and Chrome on Windows 11 x64.
I have "Show image caption" checked in the theme config. If I check or un-check "Use description rather than title for images" then I see the following
Un-checked: the image titles are displayed below the thumbnails (as I'd expect) but not below the full images.
Checked: titles are not displayed, and no descriptions are displayed either.
Changing the "Description display style" setting makes no difference to whether image descriptions are displayed.
Environment:
Activated plugins:
Site URL: https://andyjohnson.uk/photos
The text was updated successfully, but these errors were encountered: