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
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
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
Offline
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
Thats exatly what you can do with GThumb+
Offline
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
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.
Offline
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
Offline