Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#736 2009-09-29 01:57:18

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: [plugin] [ORPHAN] vdh_flickr

Following up on my previous question (#730), if it’s really the case that I can’t output title and description with thumbnails (I’ve spent the whole day trying, fiddling with the plugin; it seems like it should be so easy, but I can’t figure out how to make it work), is there a way I can somehow use a “random” attribute with the <txp:vdh_flickr_img> tag so that I can pull a random image either from a set or according to a certain tag?

I just need a way to output a random medium-sized image either from a set or according to a given tag, and I also need to be able to output that image’s title and description.

Oh, I should probably emphasize that when I say “output title and description with thumbnails,” I’m not talking about the title of the set of thumbnails or description of the set of thumbnails. I’m talking about title and description associated with an individual image.

Last edited by ferenczi (2009-09-29 01:59:43)

Offline

#737 2009-09-30 11:56:38

sebatorresi
Member
From: Spain
Registered: 2009-05-27
Posts: 105
Website

Re: [plugin] [ORPHAN] vdh_flickr

I can´t see any photo with the thumbnail option, only with the vdh_flickr i can see all the sets but not what i want.

edit

I check the Source Code and only i see

<div class="flickrset">  </div>

Thanks

Last edited by sebatorresi (2009-09-30 12:10:20)


Sonríe | Smile . <txp:lover />

Offline

#738 2010-01-11 07:29:34

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 816
Website

Re: [plugin] [ORPHAN] vdh_flickr

sebatorresi: Did you check the “” (quotes) in the plug-in code (tag)?

Last edited by RedFox (2010-01-11 07:37:31)

Offline

#739 2010-02-05 00:45:12

dukny
Member
Registered: 2006-02-20
Posts: 14

Re: [plugin] [ORPHAN] vdh_flickr

Hi, I was wondering if anybody can tell me how to enable pagination to “prewiew form”. I’ve read the documentation many times over and search the forums.

Thanks!

<txp:vdh_flickr_thumbnails  set="your_set_number" thumbnails_form="flckr_thumbs" img_form="flickr_image"  />

Last edited by dukny (2010-02-05 01:04:20)

Offline

#740 2010-04-07 10:30:33

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [plugin] [ORPHAN] vdh_flickr

Anyone get the password and username protection working on sets? Or does it only work on tags.
I mean for the private flickr photos.
Thanks


its a bad hen that wont scratch itself.
photogallery

Offline

#741 2013-02-19 23:22:46

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

Re: [plugin] [ORPHAN] vdh_flickr

Hello everyone on the vdh_flickr channel … I’m thinking about making use of this plugin, but I notice that its developer is no longer active and it spews out a lot of error messages. Is anyone still using it successfully on newer releases of Textpattern?

Cheers,

Adi

Offline

#742 2013-02-20 00:05:33

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

Re: [plugin] [ORPHAN] vdh_flickr

Hi Adi, working fine for me on a new site – Solborg. I made one or two small very changes to the code. vdh_flickr is used here and here.

Last edited by jstubbs (2013-02-20 00:08:37)

Offline

#743 2013-02-20 00:12:05

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

Re: [plugin] [ORPHAN] vdh_flickr

jstubbs wrote:

Hi Adi, working fine for me on a new site – Solborg. I made one or two small very changes to the code. vdh_flickr is used here and here.

Hi Jonathan, thanks for the reply. Yes, I’ve just bodgied up the code to get rid of the error messages (note “get rid of” not “fix”!).

I’m guessing the photo pages on your website are getting the images from Flick, which you’re then feeding into a lightbox?

Offline

#744 2013-02-20 00:33:29

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

Re: [plugin] [ORPHAN] vdh_flickr

Yes, I think I just changed the thumbnail output to add a class="fancy box" to the anchor tag and also added an alt attribute. Works fine for me – no errors thankfully.

Offline

#745 2014-06-29 00:23:00

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

Re: [plugin] [ORPHAN] vdh_flickr

Seeing a Failed to connect to flickr.com! message over the last two days – thought at first maybe a Flickr server was down but since the error message is persistent, wondering if anyone else had this issue? Its for the Solborg site, the web host may have updated PHP but not sure. Anyone come across this?

Offline

#746 2014-06-29 00:28:23

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

Re: [plugin] [ORPHAN] vdh_flickr

Yep, I’m seeing this as well, on one of my client sites.

Something to with Flickr API Going SSL-Only on June 27th, 2014?

Offline

#747 2014-06-29 00:49:24

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

Re: [plugin] [ORPHAN] vdh_flickr

!!! I had no idea about that, but it must be to do with Flickr API, the connection first went down two days ago on the 27th. Do you know where the API call is within the plugin code? I haven’t been able to source it yet?

Offline

#748 2014-06-29 00:55:28

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

Re: [plugin] [ORPHAN] vdh_flickr

Found it – look for line #931 in the plugin code:

class Flickr {
	var $xmlurl = 'http://www.flickr.com/services/rest/?method=';
	var $xml;

And change the URL to:

class Flickr {
	var $xmlurl = 'https://api.flickr.com/services/rest/?method=';
	var $xml;

Works!

Offline

#749 2014-06-29 00:58:51

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

Re: [plugin] [ORPHAN] vdh_flickr

Thankfully an easy fix … I’ll get mine working too.

Offline

#750 2014-06-29 01:37:28

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

Re: [plugin] [ORPHAN] vdh_flickr

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

The above mentioned site currently runs Foundation v3 and will be updated in September to F5. On this page which uses an F3 accordion, one of the articles contains a vdh_flickr tag which pull out some images. On page load, the images are stacked which usually means that the Masonry layout is messed up while the images are loading.

imagesLoaded is supposed to fix that, but its patchy on the “BILDER FRA BILDE & FORM” article in the page mentioned

It works fine on other pages, for example the album page.

Something in the accordion maybe throwing this thing off – a second look would be really appreciated because right now I can’t see it!

Offline

Board footer

Powered by FluxBB