Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#751 2014-06-29 01:58:28

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

Re: [plugin] [ORPHAN] vdh_flickr

jstubbs wrote #281710:

Adi – quick question if you have any experience with Foundation and/or Masonry

Er, no, sorry. I can see your problem though … bleurgh!

If it helps … it seems to happen on a normal page visit (even if you click away & come back), but a page refresh sorts it out.

Did a quick Google for “masonry imagesLoaded flickr” and I don’t think you’re suffering alone: are these any good?

Offline

#752 2014-06-29 02:15:07

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] vdh_flickr

Its driving me crazy! Why it works just fine outside of an accordion but not within!! Can’t upgrade to F5 yet so stuck debugging F3…so far can’t tell if its a JS or CSS problem! Thanks for the help though!

Offline

#753 2014-06-29 08:56:41

etc
Developer
Registered: 2010-11-11
Posts: 5,674
Website GitHub

Re: [plugin] [ORPHAN] vdh_flickr

That’s funny: “inspect element” in Firefox makes it work.

Offline

#754 2014-06-30 00:10:18

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] vdh_flickr

etc wrote #281716:

That’s funny: “inspect element” in Firefox makes it work.

Same in Safari and Chrome inspectors!

Offline

#755 2014-06-30 00:36:46

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

Re: [plugin] [ORPHAN] vdh_flickr

Firebug does it too.

Could you frig it by using jQuery to apply some harmless, yet productive styling to nudge the images? Something like a zoom:1 or height:auto or overflow:something – applied when (or after) the user clicks on that accordion tab.

Offline

#756 2014-06-30 09:13:11

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: [plugin] [ORPHAN] vdh_flickr

Nightmare.. tried updating with the code here to https and still it shows ‘failed to connect to Flickr’ :/ Can either of you please post the full working code and I’ll just copy and paste it, replace the api key and see if it works, I must have either changed something else or I don’t know what.. the new line of code just isn’t working anyway, help!! Please!


…………………
I <3 txp
…………………

Offline

#757 2014-06-30 10:11:17

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: [plugin] [ORPHAN] vdh_flickr

Got it working, lost one of my 9 lives :D The path fix worked, of course because I was being clever by fixing it under my own hosting I had a php.ini interfering with it!

For future reference guys, I’ve made a plugin that works with the phpFlickr library, the only thing I love about vdh_flickr that I find hard to do is that you can open the image on the page, so my plugin is fine for lightbox galleries, but the ability to click on the image and view the large one on the same page is great I think.. however, if this plugin really does crash and die I’ll have something to replace it with so I’ll share that out if you like!


…………………
I <3 txp
…………………

Offline

#758 2014-07-01 04:48:41

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

Re: [plugin] [ORPHAN] vdh_flickr

etc wrote #281716:

That’s funny: “inspect element” in Firefox makes it work.

Just resizing the browser window does it …!

Offline

#759 2014-07-01 10:41:43

etc
Developer
Registered: 2010-11-11
Posts: 5,674
Website GitHub

Re: [plugin] [ORPHAN] vdh_flickr

gomedia wrote #281779:

Just resizing the browser window does it …!

Then putting $(window).trigger("resize") somewhere at the end could fix it. :)

Offline

#760 2014-07-01 12:29:36

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] vdh_flickr

etc wrote #281797:

Then putting $(window).trigger("resize") somewhere at the end could fix it. :)

I added the code – please try again and let me know what you see!

Offline

#761 2014-07-01 12:33:00

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

Re: [plugin] [ORPHAN] vdh_flickr

jstubbs wrote #281803:

I added the code – please try again and let me know what you see!

No joy, sorry.

Offline

#762 2014-07-01 12:49:12

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] vdh_flickr

Yep, same here..stumped!

Offline

#763 2014-07-01 13:09:21

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

Re: [plugin] [ORPHAN] vdh_flickr

jstubbs wrote #281806:

Yep, same here..stumped!

Try running the jQuery resize thing when (or shortly after) the user clicks on “Bilder fra Bilde & Form”.

Offline

#764 2014-07-01 14:43:01

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] vdh_flickr

OK, now I have:


$(".title").click(function () {
      $(window).trigger('resize'); 
 });

How does that work? Seems ok from here…

Offline

#765 2014-07-01 22:39:18

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

Re: [plugin] [ORPHAN] vdh_flickr

Looking good!

Offline

Board footer

Powered by FluxBB