Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-07-04 17:09:04

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Backlight 1.2 pangolin album sets

When using a new panoglin Album set with the masonry layout it doesn't always format correctly, 

This is an okapi album set with Masonry and as you keep refreshing the page the galleries giggle about to create a uniformed look,   

http://www.tsiphotography.co.uk/galleries/portraits/

Here are panoglin album sets

http://www.tsiphotography.co.uk/galleries/events/

http://www.tsiphotography.co.uk/galleries/weddings/

As you can see you sometimes end up with big gaps between the gallery index images..

Last edited by mridley (2017-07-04 17:14:49)

Offline

#2 2017-07-04 17:31:48

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Backlight 1.2 pangolin album sets

Weird. I've not seen this happening in development. Are you ever seeing this same behavior in albums, or is this only happening to album sets?


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2017-07-04 17:45:38

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Re: Backlight 1.2 pangolin album sets

Matthew wrote:

Weird. I've not seen this happening in development. Are you ever seeing this same behavior in albums, or is this only happening to album sets?


Only ever in album sets, in the album you can see the thumbnails shuffle about, etc

I've just emailed you a gallery link..

Last edited by mridley (2017-07-04 17:47:55)

Offline

#4 2017-07-04 17:47:54

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Backlight 1.2 pangolin album sets

Thanks. I will attempt to reproduce and see if I can sort it out.


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2017-07-04 21:02:20

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Backlight 1.2 pangolin album sets

I see similar behavior with a Pangolin Album set. https://stalkinglight.com/galleries/

Note that the cover image is random on the albums in the set and there is a mix of landscape and portrait formats in the albums.

Last edited by charlie.choc (2017-07-04 21:21:45)

Offline

#6 2017-07-05 21:22:14

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Backlight 1.2 pangolin album sets

I think I've found the problem. A label carried over with some code shared between album and album set Masonry layouts, only I missed changing an all-important, single word for album sets ... please try this, and let me know how it goes.

Open the file backlight/modules/pangolin-album-set/dynamic/js/scripts.php.

Change line 21 from:

var grid = $(".gallery").masonry({

To:

var grid = $("#albums").masonry({

And I think we should be all good thereafter.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2017-07-05 21:45:24

mridley
Member
From: UK
Registered: 2012-09-26
Posts: 221
Website

Re: Backlight 1.2 pangolin album sets

All good thanks Matt!

Matthew wrote:

I think I've found the problem. A label carried over with some code shared between album and album set Masonry layouts, only I missed changing an all-important, single word for album sets ... please try this, and let me know how it goes.

Open the file backlight/modules/pangolin-album-set/dynamic/js/scripts.php.

Change line 21 from:

var grid = $(".gallery").masonry({

To:

var grid = $("#albums").masonry({

And I think we should be all good thereafter.

Offline

#8 2017-07-05 21:55:39

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Backlight 1.2 pangolin album sets

Wonderful!


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2017-07-06 19:20:03

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Backlight 1.2 pangolin album sets

My site also likes this fix.

https://jamesherman.net/galleries/

JIm.


User with too little time but coding is therapeutic.

Offline

Board footer

Powered by FluxBB