Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2016-05-07 05:54:15

mblanchette1
Member
From: Bedford, NH
Registered: 2012-10-15
Posts: 110
Website

Masonry album on Home page

I've set up a small test site to play with Backlight. Sure is easier than from Lightroom! There's one problem so far that's causing me to scratch my head. I created an album to display a masonry-style gallery on the Home page. After uploading, it shows up under Galleries exactly as expected, with a nice alignment of photos. But when I attach that same gallery to the Home page, the masonry alignment is completely off.

Here it is as seen from Galleries: http://www.mabtesting.dreamhosters.com/galleries/Home/
And here is the same gallery attached to the Home page: http://www.mabtesting.dreamhosters.com/home/

As you can see, the masonry alignment is off on the Home page but fine in Galleries. Thoughts?

Mike

Last edited by mblanchette1 (2016-05-07 05:55:39)

Offline

#2 2016-05-07 06:05:10

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,174
Website

Re: Masonry album on Home page

I notice that the Photoswipe large image presentation isn't working properly either.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#3 2016-05-07 06:11:48

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,174
Website

Re: Masonry album on Home page

I like the border you put around the large images. Nice touch.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#4 2016-05-07 11:15:18

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

Re: Masonry album on Home page

The page is crashing before it's finished loading (so no Javascript is loaded), with this error in the source code:

Something went wrong
Unexpected error: Call to a member function mapsEnabled() on a non-object in 85-page-1.0.0-9-18-menu_8-81-content-1.0.0-6-23.view.template on line 412

Ben will need to get a look at that. It looks like the maps function might be breaking when galleries are embedded into the page, though. If that's something we need to fix, we'll look into it. But in the meantime, edit the album in Lightroom and switch OFF the Maps Enabled checkbox under the Features tab; see whether that solves it for you.

On the upside, you've now seen how the gallery continues to function in single-image page mode when Javascript goes to hell. Cool right? I need to add some features to those single-image pages, though.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#5 2016-05-07 11:48:23

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,933

Re: Masonry album on Home page

We would need to look at line 412 of that file, as found in backlight/data/designer/cache

Offline

#6 2016-05-08 01:00:28

mblanchette1
Member
From: Bedford, NH
Registered: 2012-10-15
Posts: 110
Website

Re: Masonry album on Home page

Do you want me to send you a file from the server? I verified that the behavior persists even after turning off the Maps.

Offline

#7 2016-05-08 02:06:30

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

Re: Masonry album on Home page

We have a short term solution for the next update. It won't get maps working on embedded pages, but it will keep them from crashing until we can look into a better fix.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#8 2016-05-10 00:21:29

mblanchette1
Member
From: Bedford, NH
Registered: 2012-10-15
Posts: 110
Website

Re: Masonry album on Home page

OK, thanks.

Offline

#9 2016-05-10 00:54:27

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

Re: Masonry album on Home page

Update: Maps and everything will work just fine on pages when 1.0.1 hits. We've got another day or two of testing to do before we kick it out the door, but you can expect it this week.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#10 2016-05-10 21:02:33

mblanchette1
Member
From: Bedford, NH
Registered: 2012-10-15
Posts: 110
Website

Re: Masonry album on Home page

Sounds good, thanks.

Offline

#11 2016-05-12 01:07:41

mblanchette1
Member
From: Bedford, NH
Registered: 2012-10-15
Posts: 110
Website

Re: Masonry album on Home page

I verified that the update fixed all issues related to the masony gallery on my home page. Thanks.

Last edited by mblanchette1 (2016-05-12 01:07:56)

Offline

#12 2016-05-12 14:09:44

chumby
Member
Registered: 2014-10-23
Posts: 31

Re: Masonry album on Home page

That's good news....test site looks great...

To embed a masony galley on the home page - is that set up through lightroom/publisher options or in the web admin area of backlight? 

Haven't tried it yet...but keen to

Cheers,
Chumby

Offline

#13 2016-05-12 14:24:25

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

Re: Masonry album on Home page

In the menu, go Designer => Pages, then press "Design" for the page you want to edit. You will have options to embed an album, album set or contact form on that page.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#14 2016-05-12 14:35:30

chumby
Member
Registered: 2014-10-23
Posts: 31

Re: Masonry album on Home page

Great, thanks Matt.

Had some issues with inserting an album onto the homepage - but Ben made a patch for this and now all working. www.wildlifephoto.com.au

How can I get this into a masonry gallery from here though?  Just cant seem to find the right setting for that...

Cheers,
Chumby

Last edited by chumby (2016-05-12 22:09:50)

Offline

#15 2016-05-13 05:21:04

chumby
Member
Registered: 2014-10-23
Posts: 31

Re: Masonry album on Home page

Is this somewhere is pages ==> design as well?

Any help appreciated.

Cheers
Chumby

Offline

#16 2016-05-13 05:32:59

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 325
Website

Re: Masonry album on Home page

Designer-Templates-Standard Album Template-Design-Thumbnail Presentation-Style

You can change from Classic to Masonry.

Rainer

Offline

#17 2016-05-13 05:36:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,174
Website

Re: Masonry album on Home page

Design an album template and in Thumbnail Presentation, choose Masonry under Style and set your Max. Columns.

In Lightroom, create an album using your new Masonry template.

To embed it into the home page, edit the Home Page (Designer > Pages and click Design for the Home page) and click on Insert Album. Then choose the album you just created in Publisher.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#18 2016-05-13 13:20:56

johnbrks
Member
From: Los Angeles
Registered: 2015-08-14
Posts: 137
Website

Re: Masonry album on Home page

i don't see where the album options are in TTG Publisher.  i see a default template, but no options for masonry etc.  did i not copy something somewhere?

Offline

#19 2016-05-13 13:53:54

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 325
Website

Re: Masonry album on Home page

See my post

Offline

#20 2016-05-13 15:21:27

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

Re: Masonry album on Home page

johnbrks wrote:

i don't see where the album options are in TTG Publisher.  i see a default template, but no options for masonry etc.  did i not copy something somewhere?

Design happens in Backlight => Designer.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#21 2016-05-13 18:22:46

chumby
Member
Registered: 2014-10-23
Posts: 31

Re: Masonry album on Home page

All working for me... thanks for the help, there!

Cheers
Chumby

Offline

Board footer

Powered by FluxBB