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.
You are not logged in.
Pages: 1
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
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?
Offline
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
Thanks. I will attempt to reproduce and see if I can sort it out.
Offline
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)
Charlie
www.stalkinglight.com
Offline
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
All good thanks Matt!
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
Offline
User with too little time but coding is therapeutic.
Offline
Pages: 1