Textpattern CMS support forum

You are not logged in. Register | Login | Help

#771 2014-11-23 12:09:07

etc
Developer
Registered: 2010-11-11
Posts: 3,198
Website

Re: [plugin] [ORPHAN] vdh_flickr

Fails for me too (Firefox on W7). There seem to be no particular order of images, why don’t you use css multiple columns instead of masonry?


etc_[ query | search | pagination | date | tree | cache ]

Offline

#772 2014-11-23 13:41:01

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,183
Website

Re: [plugin] [ORPHAN] vdh_flickr

When any of the pages first load, in place of the images, I see a vertical blank bulleted list. Then it gets replaced by the image. On a second visit, the images load immediately.

I am using Chrome 39 on Windows 8.1.

Offline

#773 2014-11-24 00:11:04

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: [plugin] [ORPHAN] vdh_flickr

etc wrote #286012:

Fails for me too (Firefox on W7). There seem to be no particular order of images, why don’t you use css multiple columns instead of masonry?

Damn, its not working. Client wanted Masonry so have to use it. Can’t figure out why the window resize is not kicking in, this worked before upgrading to Foundation 5.

Offline

#774 2014-11-24 00:23:03

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: [plugin] [ORPHAN] vdh_flickr

michaelkpate wrote #286013:

When any of the pages first load, in place of the images, I see a vertical blank bulleted list. Then it gets replaced by the image. On a second visit, the images load immediately.

I am using Chrome 39 on Windows 8.1.

Thanks Michael. The Orbit slider bullets should be fixed now.

Offline

#775 2014-11-25 00:49:52

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: [plugin] [ORPHAN] vdh_flickr

Mmm this is still elusive and quite random behaviour. I tried:

$("#secondary div.row div.small-12.large-9.columns dl.accordion dd.accordion-navigation a").on("click", function () {
      $(window).trigger('resize'); 
 });

And an attempt to trigger a page resize on ajax start up:

<script>jQuery( document ).ajaxStart(function() { jQuery(window).trigger("resize");});</script>

Can anyone see what I’m missing here? I’ve done a lot of reading on Masonry and the stacked images problem but haven’t found a solution that seems to stick.

Offline

#776 2014-11-29 12:03:12

etc
Developer
Registered: 2010-11-11
Posts: 3,198
Website

Re: [plugin] [ORPHAN] vdh_flickr

Jonathan, replacing $(window).trigger('resize') with

window.dispatchEvent(new Event("resize"))

has worked for me, don’t ask why.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#777 2014-11-29 14:27:58

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: [plugin] [ORPHAN] vdh_flickr

Thank you Oleg. I’ve added it now to the page. Hope you have some good feedback that it works…does for me so far!

Offline

#778 2014-11-29 23:48:26

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,226
Website

Re: [plugin] [ORPHAN] vdh_flickr

Yep, looks like it’s behaving itself again.

Offline

#779 2014-11-30 10:43:37

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,394
Website

Re: [plugin] [ORPHAN] vdh_flickr

F-ing good news!! Thanks Oleg, so helpful. And you too Adi! Really appreciate the help with this.

Offline

#780 2015-01-12 22:39:40

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,226
Website

Re: [plugin] [ORPHAN] vdh_flickr

Funny how things turn out … I’ve had to start using Masonry as well!

Hit the same problem – where the images clump together. Worse on Safari but also happening on FF. The “window resize” fix didn’t work for me. This did.

The height being set (by Masonry) on the images container was incorrect but loading it using the imagesLoaded plugin sorted things out.

Offline

Board footer

Powered by FluxBB