piwigo-bootstrap-darkroom icon indicating copy to clipboard operation
piwigo-bootstrap-darkroom copied to clipboard

Image description missing in photoswipe mode

Open aberwenig opened this issue 1 year ago • 0 comments

I have a Piwigo 12.3.0 system with Bootstrap-Darkroom 2.5.10.

When viewing images with Photoswipe, the image description, which should appear below, is missing.

I tried to find why. In file '.../themes/bootstrap_darkroom/template/_photoswipe_js.tpl', line 56:

                 if ($(this).data('description').length > 0) {$title += '<ul id="pswp--caption--description"><li>' + $(this).data('description') + '</li></ul>'; }

$(this).data('description') is always empty. Somehow it does not get read correctly from the image properties. I couldn't find where that happens.

For comparison: I have another Piwigo system version 2.10.2 with Bootstrap-Darkroom 2.4.5 and there it works fine.

aberwenig avatar Sep 02 '22 09:09 aberwenig