Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#613 2007-12-15 19:26:34
Re: [plugin] [ORPHAN] vdh_flickr
Just downloaded the latest version – 0.8.11 – and it does indeed “fail to connect”. I found that when upgrading to TXP 4.05 is when the failed to connect errors started. Anyone have a fix for this problem? Shame to see this plugin die.
Offline
#614 2007-12-16 23:32:19
- hurty
- Member
- Registered: 2004-07-17
- Posts: 28
Re: [plugin] [ORPHAN] vdh_flickr
jstubbs — I’m having the same problem. (Fail to connect error) I’ve tracked it down to the fact that my host has turned off allow_url_fopen for security reasons.
I’d like to get this working, but I don’t really want to have to compile and install a custom version of PHP. Anyone know of a hack on this plugin to remove the dependency on allow_url_fopen? (Perhaps using cURL?)
Mark
Offline
#615 2007-12-17 02:20:36
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
jstubbs wrote:
highslide looks awesome! Do you have a demo page where you have Flickr images used with your script above?
Hi, check it out here http://classic.dazonic.webhop.org/gallery
it’s on a local machine, so it’ll be slow…. and i might also be testing stuff- so it mightn’t work at all.
Offline
#616 2007-12-17 07:24:43
Re: [plugin] [ORPHAN] vdh_flickr
dazonic, look great! How do you implement the highslide script with the vdh_flickr plugin?
Offline
#617 2007-12-17 07:34:01
Re: [plugin] [ORPHAN] vdh_flickr
hurty wrote:
jstubbs — I’m having the same problem. (Fail to connect error) I’ve tracked it down to the fact that my host has turned off allow_url_fopen for security reasons.
I’d like to get this working, but I don’t really want to have to compile and install a custom version of PHP. Anyone know of a hack on this plugin to remove the dependency on allow_url_fopen? (Perhaps using cURL?)
Interesting. I did not know about allow_url_fopen. I posted on Joyent forums (my host) to see if they have an answer.
Offline
#618 2007-12-17 07:46:54
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
jstubbs wrote:
dazonic, look great! How do you implement the highslide script with the vdh_flickr plugin?
Cheers mate. You can edit the plugin and paste the function in the post above just above return $html;
in the function thumbnails_link($img_url)
Then to use it- <txp:vdh_flickr_thumbnails open="highslide"/>
I think that’s all I did…
Offline
#619 2007-12-17 18:23:34
Re: [plugin] [ORPHAN] vdh_flickr
Thanks dazonic. I would like to try it, except that I can’t get vdh_flickr to work – yet.
Edit: Now it works! For hurty above – you are correct, the issue is allow_url_fopen. On Joyent, we have our own php.ini so I was able to edit it to turn allow_url_fopen on.
dazonic – do you use anything else in TXP forms? Is the <txp:vdh_flickr_thumbnails open="highslide"/>
enough?
Offline
#620 2007-12-18 00:46:13
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
Hi, i’ve been putting each set in separate articles.
<txp:vdh_flickr_thumbnails nsid="21507336[at]N03" set="72157603381879975" thumbnails_form="thumbnails" open="highslide" />
and my thumbnails form looks like this:
<h3><txp:title /></h3>
<div class="thumbs">
<txp:vdh_flickr_thumbnails_list wraptag="ul" break="li" />
</div>
there’s lots of ways to do it, let me know how you go.
Last edited by dazonic (2007-12-18 00:47:56)
Offline
#621 2007-12-18 07:13:03
Re: [plugin] [ORPHAN] vdh_flickr
Thanks dazonic, I will take a look at this later when I have time to work. A question on performace – this site I am working on will have lots of photo sets on Flickr and a lot of images. Hundreds maybe. What sort of speed performance are you seeing from vdh_flickr and the highslide script?
Another question – I don’t see the option in vdh_flickr to set thumbnails to open up in Lightbox (Slimbox)?
Offline
#622 2007-12-18 07:17:57
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
performance- slow loads. highslide is quick, but all those requests from flickr [???] make for a bit of a stall.
yeah, lightbox option isn’t in the docs, i found out about it editing the plugin. does this answer your question?
Offline
#623 2007-12-18 07:33:04
Re: [plugin] [ORPHAN] vdh_flickr
Thanks, it does, at least partially. I don’t find any reference to what the lightbox options are in this thread. Is it possible to use Slimbox with the thumbnails? If so, do you know which vdh_flickr tags use this option?
Offline
#624 2007-12-18 07:41:44
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
Go to plugins, and edit vdh_flickr. Follow my steps from post #618 and #620, you should have no problems. I don’t actually use the standard tag <txp:vdh_flickr />.
Offline