Announcement

#1 2021-03-26 17:46:39

Nigel-Aves
Member
2015-09-22
63

Question on Bootstrap - Darkroom

Hello/Hi/Greetings,

I'm currently using the Elegant Theme and for all thumbnails it does not crop the image. Perfect. But when using the Bootstrap - Darkroom Theme it does crop all the images to fit the thumbnail. Being a portrait photographer this means that for a majority on the photographs the "head(s)" is / are cut off! Well and truly "guillotined" :)

Is there a way to stop this theme from doing that and producing a result a lot closer to the Elegant Theme?

Piwigo 11.4.0 Check for upgrade
Operating system: Linux
PHP: 7.4.16 (Show info) [2021-03-26 10:35:35]
MySQL: 8.0.23-0ubuntu0.20.04.1 [2021-03-26 10:35:35]
Graphics Library: External ImageMagick 6.9.10-23

Offline

 

#2 2022-04-04 19:01:52

matthys
Member
2014-04-02
188

Re: Question on Bootstrap - Darkroom

Pity no reply as I'm testing this theme as well and encounter the same problem.
Did you solve this by yourself?

Thanks,
Matthijs

Offline

 

#3 2022-04-04 19:36:04

Katryne
Member
2016-12-03
369

Re: Question on Bootstrap - Darkroom

Try using GThumb+ plugin. Here is the result with Bootstrap Drakroom : https://album.chauvigne.info/index?/cat … oulombiers  (site is under construction)

Plugin is here : https://piwigo.org/ext/extension_view.php?eid=591


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#4 2022-04-06 08:40:55

matthys
Member
2014-04-02
188

Re: Question on Bootstrap - Darkroom

Katryne wrote:

Try using GThumb+ plugin.

Thanks for your reply but I rather keep the layout as it is and would like to see it resizes so it fits in the thumbnail space... (to have a black, or other colour, border at left and right side).

Offline

 

#5 2022-04-07 15:55:29

BigIsland270972
Member
Norway
2022-03-15
374

Re: Question on Bootstrap - Darkroom

Thats exatly what you can do with GThumb+


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

 

#6 2022-04-07 17:23:50

matthys
Member
2014-04-02
188

Re: Question on Bootstrap - Darkroom

I can see what you mean .... and it's indeed close to what I want. But I do not like it's hiding the caption and only if you hover over it it will appear ....

Offline

 

#7 2022-04-07 17:29:47

Katryne
Member
2016-12-03
369

Re: Question on Bootstrap - Darkroom

On the link quoted above, I have one line of caption always displayed, and if it's longer, well one hovers it to view the rest of it : everything can be set with a little css.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#8 2022-04-08 01:10:08

BigIsland270972
Member
Norway
2022-03-15
374

Re: Question on Bootstrap - Darkroom

Hello. Edit the file /plugins/GThumb/template/gthumb.css

Adjust to settings below:
}
#thumbnails .gthumb .thumbLegend {
  position:absolute;
  z-index:100;
  bottom:-18px;
  top:auto;
  height:43px;
  left:0;
  right:0;
  padding:5px 0;
  width:100%;
  background:rgba(0,0,0,0.7);
  text-align:center;
  overflow:hidden;
  color:#aaa;
  -webkit-transition:all 200ms ease-out;
  -moz-transition:all 200ms ease-out;
  -ms-transition:all 200ms ease-out;
  -o-transition:all 200ms ease-out;
  transition:all 200ms ease-out;
}

Height and bottom settings.

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

 

Board footer

Powered by FluxBB

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