Announcement

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

#16 2014-09-18 17:35:10

Serge D
Member
US
2014-07-15
315

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

Let me try to understand it a bit better

First, bottom (under the thumb) design for metadata (title, # of photos) is possible, but may not work well as we cannot guarantee that caption is one liner and meta fit one line as well. Thumb dimensions are important so overlay is the only option currently.

Did you try to make it static overlay for album - Title Display Mode (Album) -> Overlay Top (Static)? You can fine-tune overlay opacity with custom CSS like this (will make legend's background solid black)
ul.thumbnails .gdthumb .thumbLegend { background-color: rgba(0,0,0,1); }

Last edited by Serge D (2014-09-18 17:35:58)

Offline

 

#17 2014-09-18 17:42:21

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3270

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

I didn't tested, now I did

I don't know what can be done, but what is sure is that currently the readability is very poor (even without mixing albums and photos) IMHO

Offline

 

#18 2014-09-18 17:45:49

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3270

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

found it ! (I add a concept in my mind but couldn't visualize it)

the very best solution would be a "pic pile" like in [extension by flop25] flop_style (top-left on the screenshot)
but adding this to the dynamic layout will be very difficult I guess

Offline

 

#19 2014-09-18 17:50:14

Serge D
Member
US
2014-07-15
315

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

Open for suggestions while keeping the thumb arrangement
Please keep in mind, You can simulate captions over under the photo by simply making overlay background to match your theme's background. it will make it to blend in and get appearance as if meta area is next to the thumb and not over it, minus size of the covered thumb.

Horizontal masonry design is by nature minimalistic. Having page long description next to the thumb is not the intend here. Again, personal opinion based on prior experience.

Vertical (future release) has more flexibility and will allow thumb area to extend down.

Offline

 

#20 2014-09-18 20:03:53

viewadam
Member
2014-08-27
17

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

Other suggestions ;)

Maybe more customizable settings: (if possible)
- main page all thumbnails of gallery are big "x2"
- thumbnails of normal photo size 1x



Static overlay from settings is better (www). Thank you.

But can you make title with limit to show one line, next line number of photos, "dark cover with description" is too big  reduce it about +-  50% ?

Last edited by viewadam (2014-09-18 20:06:04)

Offline

 

#21 2014-09-18 22:39:36

Serge D
Member
US
2014-07-15
315

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

viewadam wrote:

Maybe more customizable settings: (if possible)

Everything is possible :)

viewadam wrote:

- main page all thumbnails of gallery are big "x2"
- thumbnails of normal photo size 1x

only main page? or any page?

viewadam wrote:

can you make title with limit to show one line, next line number of photos, "dark cover with description" is too big  reduce it about +-  50% ?

if it can be done with css, then yes, let me check

Offline

 

#22 2014-09-19 21:20:02

viewadam
Member
2014-08-27
17

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

Serge D wrote:

only main page? or any page?

Yes main page 2x, and maybe internal albums 1.5x or own settings in plugin.

Thank you in advance.

Offline

 

#23 2014-09-20 02:32:28

Serge D
Member
US
2014-07-15
315

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

viewadam wrote:

Yes main page 2x, and maybe internal albums 1.5x or own settings in plugin.

There is slight problem with double thumbs on first page - it implies that thumbs are square and page can be evenly divided by 2x size so all thumbs fit.
Otherwise we would be forced to shrink to fit, so your real size may be slightly smaller than requested 2x

Ex: page is 1000px wide, 2x thumb size is 300x300. To fit we would need to shrink size to 250x250. I do not want to consider "increase" direction - 333x333 as it would introduce even more interesting unpredictable result

is it acceptable?

Offline

 

#24 2014-09-21 06:53:58

Serge D
Member
US
2014-07-15
315

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

version 1.0.8 has been published

+ ADMIN: New option: Prevent word wrap
+ CSS: add ellipse when text overflows (triggered when No word wrap is enabled)
+ Adjusted file structure and CSS reference from templates
+ Added folder protection when browse is not blocked
- Fixed issue with HTML 5 validation
- Removed caption fixed size when no-word-wrap is enabled

Offline

 

#25 2014-09-22 09:44:06

Fredrik
Guest

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

Hi,

I have an issue with the admin ui after the latest upgrade (1.0.8) on Piwigo 2.6.3.

I get the message
"Notice: Undefined index: no_wordwrap in /var/www/piwigo/plugins/GDThumb/admin.php on line 161" in the ui.

The following lines can be found in the source:

<b>Notice</b>:  Undefined index: no_wordwrap in <b>/var/www/piwigo/plugins/GDThumb/admin.php</b> on line <b>161</b><br />
<b>Warning</b>:  filemtime(): stat failed for ./`$GDTHUMB_PATH`js/image.loader.js in <b>/var/www/piwigo/include/template.class.php</b> on line <b>1863</b><br />
<br />
<b>Warning</b>:  filemtime(): stat failed for ./`$GDTHUMB_PATH`js/gdthumb.admin.js in <b>/var/www/piwigo/include/template.class.php</b> on line <b>1863</b><br />

 

#26 2014-09-22 17:26:41

Serge D
Member
US
2014-07-15
315

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

Could not reproduce it, but...

try modifying line 161 in admin.php as following

Code:

'NO_WORDWRAP'      => isset($params['no_wordwrap']),

Offline

 

#27 2014-09-22 18:32:29

flop25
Piwigo Team
2006-07-06
6666

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

Fredick Could do you re-upload the files by overwriting existing ones please. Just to be sure


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#28 2014-09-23 11:19:34

Fredrik
Guest

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

I've tried re-uploading, that did not change the issue.

Modification of line 161 removed the notice. But the 2 warnings still remain and are almost completely hidden below the settings pane.

 

#29 2014-09-23 15:40:04

Serge D
Member
US
2014-07-15
315

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

I have seen this kind of warnings during my testing but it was resolved
is your gallery in the root of your site or in sub-folder -  http://www.my.site/ vs http://www.my.site/mygallery/

Also, when you said you re-uploaded the plugin, did you delete folder content first?

Last edited by Serge D (2014-09-23 15:41:05)

Offline

 

#30 2014-09-23 16:03:47

nicolas
Former Piwigo Team
2004-12-30
1163

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

I confirm issue reported by Fredrik.
If form has not been submitted, $params['no_wordwrap'] is not defined and at line 161 there's a warning.

Offline

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

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact