Announcement

  •  » Themes
  •  » [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

#1 2022-06-20 11:28:50

kleiner_Hobbit
Member
Berlin
2017-08-22
67

[resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Hello,

I use the Bootstrap Darkroom-theme with PhotoSwipe Diashow for my gallery.

When I look at an separate photo with PhotoSwipe, there is just the photo and at the bottom of the site it shows the filename.
I think this behavior has changed and I think that the title and the description of the photo was visible in earlier versions of Bootstrap Darkroom.

So how can I fix this?
I want to show the title and the description of the photo in PhotoSwipe Diashow.

I hope someone can help me.

I think this is a bug and should be fixed within the theme. I just opened an issue at github.

Last edited by kleiner_Hobbit (2022-06-20 13:08:33)

Offline

 

#2 2022-07-20 00:18:12

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Is it really only me who is missing the titles and descriptions?

All my photos have a title and some photos have in addition a description.
When using Bootstrap Darkroom with PhotoSwipe Diashow, neither the titel nor the description is visible.

It shows only the filename at the bottom of the side.
Is there any way to show the title and description as well?

Offline

 

#3 2022-07-20 06:36:20

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7224

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Hi :-)

1/ It's better talck on forum change before oppen issue on github

2/ Can you link a photo to show the problem?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2022-07-20 10:34:39

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Here is an example

https://www.leverentz.de/forum/image-details.jpg

https://www.leverentz.de/forum/category.jpg

https://www.leverentz.de/forum/diashow.jpg

https://www.leverentz.de/forum/image.jpg 


This is the link to the photo:
https://www.die-weite-welt.de/picture.p … ategory/94

Offline

 

#5 2022-07-20 10:37:26

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

I think the title and description were visible in the diashow in earlier versions of Bootstrap Darkroom together with the filename.

Offline

 

#6 2022-07-23 19:03:35

BigIsland270972
Member
Norway
2022-03-15
374

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

You can try to replace the file:
themes/bootstrap_darkroom/template/_photoswipe_js.tpl
With my customized: https://www.arkivfoto.net/_photoswipe_js.txt
Rename to .tpl
Best regards
Robert


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#7 2022-07-24 01:14:59

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Hi Robert,

thanks for your file, but it doesn´t works.
The Images are shown bigger in PhotoSwipe with your file, but there is no title and no description visible as before.

Claudia

Offline

 

#8 2022-07-24 14:11:29

BigIsland270972
Member
Norway
2022-03-15
374

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

HI Claudia
Also try replace:

/themes/bootstrap_darkroom/include/themecontroller.php

https://www.arkivfoto.net/themecontroller.txt
Best regards
Robert


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#9 2022-07-24 23:27:16

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Hi Robert,

thanks a lot, by updating the themecontroller.php with your file it works!
Title and description are now visible

https://www.leverentz.de/forum/image-photoswipe-NEU.jpg

THANK YOU very much for this helpful file!

This leads to another question ...
Is there a way to center the text and make it a little bit bigger?

Best regards

Claudia

Offline

 

#10 2022-07-25 22:25:40

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

I found a solution for center the text and make it a bit bigger.
I put this code in CSS with LocalFiles Editor

Code:

.pswp__caption__center {
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    margin-bottom: 3%;
}

Offline

 

#11 2022-09-08 13:36:36

deWit-Johan
Member
2022-09-08
8

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Hi All,

I'm glad I found this thread since @kleiner_Hobbit had exactly the same issue as I have with this theme on my newly created website. (fotos.familiedewit.net)

However I can not copy this fix since the files mentioned by @BigIsland270972 seem not to be available any more.

Was this really a bug? Is there perhaps an update of the theme that is not released yet.

Could either of you provide me with the fixed files as well?

Thanks,
Johan

Offline

 

#12 2022-09-08 13:47:00

kleiner_Hobbit
Member
Berlin
2017-08-22
67

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

You have to add two lines in the themecontroller.php

https://user-images.githubusercontent.com/30748040/180666624-0f5add51-168f-469a-b6b8-75d53934c8ba.jpg

This will be fixed with the next update of Bootstrap Darkroom

Offline

 

#13 2022-09-08 13:50:28

deWit-Johan
Member
2022-09-08
8

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

kleiner_Hobbit wrote:

You have to add two lines in the themecontroller.php

https://user-images.githubusercontent.c … 34c8ba.jpg

This will be fixed with the next update of Bootstrap Darkroom

Ah I see. Just found the github, will copy the file from there in the meantime!

Thanks!

Offline

 

#14 2022-09-08 22:11:42

deWit-Johan
Member
2022-09-08
8

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Ok I got this working. Tile and Description are displayed correctly. However these are the title and description that need to be entered in the Album management section for each photo correct?

In the processing of my photo's I use Lightroom, and always add a caption. This is part of the EXIF information available in the meta data of the photo. Would it be possible to display this EXIF caption field under the photo instead of the description field?

Regards,
Johan

Offline

 

#15 2022-09-14 14:39:13

hannah
Piwigo Team
2019-04-24
58

Re: [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

This problem is now fixed with the latest version of Bootstrap-darkroom

Offline

 
  •  » Themes
  •  » [resolved] Bootstrap Darkroom - No Titles and Descriptions in PhotoSwipe Diashow

Board footer

Powered by FluxBB

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