Announcement

  •  » Extensions
  •  » [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

#166 2020-12-12 18:35:37

Alexander83706
Member
Boise
2019-07-07
148

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#167 2021-02-01 01:56:18

tnovak
Member
2018-09-27
14

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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:

Code:

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):

Code:

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.

Code:

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

 

#168 2021-02-01 07:43:04

Alexander83706
Member
Boise
2019-07-07
148

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#169 2021-02-01 08:03:16

tnovak
Member
2018-09-27
14

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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:

Code:

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

 

#170 2021-02-09 22:04:42

chrisncy54
Member
Nancy
2021-02-09
3

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#171 2021-02-09 23:23:16

tnovak
Member
2018-09-27
14

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#172 2021-02-10 08:56:21

chrisncy54
Member
Nancy
2021-02-09
3

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

http://www.chrisncy.com/dl/pwg/config_gdthumb.jpg


this line of code works fine!

Code:

ul.thumbnails .gdthumb .thumbLegend {height: min-content;max-height:30%;pointer-events:none;}

Thanks
https://chrisncy.com/PWG/

(traduction google...)

Offline

 

#173 2021-02-10 19:28:33

tnovak
Member
2018-09-27
14

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#174 2021-02-10 19:31:43

chrisncy54
Member
Nancy
2021-02-09
3

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

Oh yes !
I am stupid...

Thanks +++

Offline

 

#175 2021-11-05 08:35:28

Serge D
Member
US
2014-07-15
383

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#176 2021-11-10 05:15:08

Serge D
Member
US
2014-07-15
383

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#177 2021-11-11 13:16:20

mountwilson
Member
Zwischen den Meeren
2017-07-10
23

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#178 2021-11-17 17:16:41

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

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

 

#179 2021-11-17 22:18:42

erAck
Only trying to help
2015-09-06
1998

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

That version 1.0.24 is for Piwigo 12.


Running Piwigo at https://erack.net/gallery/

Offline

 

#180 2021-11-18 03:50:52

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

with 12.1 i'm not able to activate it.

Offline

 
  •  » Extensions
  •  » [Plugin] gdThumb - Masonry style thumbs in your gallery - 1.0.20

Board footer

Powered by FluxBB

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