I'm having a problem with the size of the photo's displayed.
Default appears to be 200 px.
When I change this to 400px and press the submit button it does not retain the value 400.
It reverts back to 200.
I have not been able to adjust size as of 10.2 piwigo. Not sure which version comes with out of the unix ports collection.
Stray.Private@Gmail.com
Offline
MDN wrote:
The issue i'm having though is with the title overlay. I prefer Albums to have a static title, but when using the bottom overlay it sometimes covers nearly the whole image (especially on mobile), and it turns out that it's not actually click- or tap-able. So one can only enter the album by pressing on the very narrow top part of the image that's left visible!
There is no option to make it clickable is there? Maybe it's better placed below the image anyway, or actually as a title+description card on the side of the image - which makes it even more visually distinguishable as an Album.
Hi!
I'm not the author of this perfect plugin (thank you, Serge), but maybe I can help you.
I had the same problem so I tried to solve with little css trick.
Just edit your \local\css\rules.css file (or make one if doesn't exist) and put this line inside:
ul.thumbnails .gdthumb .thumbLegend {pointer-events:none;}
This will make your overlay clickable. The only consequence is that after the change you won't be able to select the overlay text.
And/or even better you can make the overlay height just it needs to be (instead the fixed 5em):
ul.thumbnails .gdthumb .thumbLegend {height: min-content;pointer-events:none;}
I personally don't have too many images with long description or small height so I limited the max height of the overlay to 30% (you can change it, just don't forget to change the second line too to hide it all in inactive state) so it will never block entire image.
ul.thumbnails .gdthumb .thumbLegend {height: min-content;max-height:30%;pointer-events:none;} ul.thumbnails .gdthumb .thumbLegend.bottom {bottom: -35%;}
This should work for bottom overlay (both fixed and dynamic) on albums and images too.
I hope it will work for you (and maybe for others with the same issue) :-)
With regards
Tom
P.S.: My Piwigo installation is very modified so I hope it will work with the vanilla one. Also I only use elegant theme so I can't confirm it will work with other themes.
Offline
I've got a little malfunction.
Your plugin GDTHUMB is all well and good. I cannot seem to get it to accept anything other than the default size of 200.
I make a change from 200 to 300 and it does not store the adjustment in whatever database it uses.
I've tried adjusting the config_default file for a larger size also. No joy there either.
I need to know how and possibly where it stores the value for size.
My choice is resize instead of crop in the defaults.
Offline
Alexander83706 wrote:
I need to know how and possibly where it stores the value for size.
The settings is stored in database table (you can have custom prefix, but default is piwigo)_config param gdThumb.
For example I have:
a:13:{s:6:"height";s:3:"400";s:6:"margin";s:2:"10";s:13:"nb_image_page";s:3:"100";s:9:"big_thumb";b:0;s:16:"big_thumb_noinpw";b:0;s:15:"cache_big_thumb";b:1;s:15:"normalize_title";s:3:"off";s:6:"method";s:6:"resize";s:16:"thumb_mode_album";s:13:"bottom_static";s:16:"thumb_mode_photo";s:6:"bottom";s:14:"thumb_metamode";s:6:"merged";s:11:"no_wordwrap";b:0;s:13:"thumb_animate";b:0;}
Offline
Bonjour,
A quel endroit peut on supprimer la deuxième ligne d'information ?
Je souhaiterais ne voir que le titre de l'album
Avec mes remerciements
Hello,
Where can the second line of information be deleted?
I would like to see only the title of the album
With thanks
Offline
chrisncy54 wrote:
I would like to see only the title of the album
Hi!
It's easy, just set Metadata Display Mode to Hide in GDThumb Configuration.
Offline
Hello,
Thank you for the answer.
I do not see this option to be checked in the configuration
here is the screenshot
GDThumb 1.0.22 - Piwigo 11.3.0
this line of code works fine!
ul.thumbnails .gdthumb .thumbLegend {height: min-content;max-height:30%;pointer-events:none;}
Thanks
https://chrisncy.com/PWG/
(traduction google...)
Offline
chrisncy54 wrote:
I do not see this option to be checked in the configuration
here is the screenshot
It's the last line (Mode d'affichage des metadatas), select the third option (Masquer).
I'm glad the css works for you! :)
Offline
Oh yes !
I am stupid...
Thanks +++
Offline
version 1.0.23
+ Support for PIWIGO 12 verified
+ ADMIN: buttons shifted to the left
+ Added safety wrappers for variables in some templates as required by new SMARTY engine
Offline
version 1.0.24
- Removed smarty reference in prefilter function
+ Removed compatibility with older versions of PIWIGO. Min required version is now 11.x
Offline
Hi!
After upgrading to v1.0.24 neither Firefox nor Vivaldi allow me to unset "Double the size of the first thumbnail" any more. Not even in a private window.
Thanx for reading, mountwilson
[Edit]
Don't mind. I edited the config table in the db by hand.
Last edited by mountwilson (2021-11-11 13:40:19)
Offline
Serge D wrote:
version 1.0.24
- Removed smarty reference in prefilter function
+ Removed compatibility with older versions of PIWIGO. Min required version is now 11.x
Hi, is there an update planned for 12.1? Thanks a ton!
Offline
That version 1.0.24 is for Piwigo 12.
Offline
with 12.1 i'm not able to activate it.
Offline