Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#601 2007-09-09 11:35:37

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [plugin] [ORPHAN] vdh_flickr

You can use the plugin though and have thumbnails for all your sets display, then link to each image on flickr like I think you mean. Just add the attribute open="flickr" to your vdh_flickr tag.

Offline

#602 2007-09-09 21:43:51

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] vdh_flickr

If you want to use the plugin for more control than a flickr badge gives, you can adjust the link=”“ attribute. See the documentation for more info. You may need to setup your own forms instead of using the default to get things working exactly as you want…

Last edited by mwillse (2007-09-09 21:44:38)

Offline

#603 2007-09-10 21:38:09

fcraven
New Member
Registered: 2005-03-10
Posts: 4

Re: [plugin] [ORPHAN] vdh_flickr

1st mwillse wrote:

I’ve had trouble, but nothing that extreme. I would:

  1. make sure you have php 5 (Admin > Diagnostics)
  2. delete and reinstall the plugin
  3. check the tag trace in debugging mode to see where things break down
  4. make sure you have straight quotes not “curly quotes”

then I wrote:

Well the first issue may be the problem! After much consternation and an eventual “DOH!” I discovered that my server has php 4.3.1, Now the question becomes, can I move it to php5? I seem to recall doing something like this a while ago, but it was on my computer, not at Pair. When I do such things I always like to talk to someone who knows what they are doing, least bad things happen. So, thats in the works. The strange thing about it is the error it caused. Why would it blank out everything?

Well, it turned out that my server was due for an upgrade, and has now been upgraded without me having to do anything :) now I have to deal with “Failed to connect to Flickr!” :( I’ve actually tried to get it to work on a couple of sites with no joy.

Offline

#604 2007-09-12 03:10:58

chizet
New Member
Registered: 2007-09-09
Posts: 7

Re: [plugin] [ORPHAN] vdh_flickr

iblastoff wrote:

chizet wrote:

Hey guys, new to Textpattern and vdh_flickr. I was just wondering if it were possible to link a set to flickr rather than show the images on my site?

you don’t need a plugin for that. just use a regular flickr badge generated from your flickr account

Thanks guys, badge worked indeed!

Offline

#605 2007-09-14 17:24:29

fcraven
New Member
Registered: 2005-03-10
Posts: 4

Re: [plugin] [ORPHAN] vdh_flickr

Failed to connect to flickr.com!

Is all I get.

My domain host is Pair.com. (which is a Movable Type partner, oh well.)
Php 5.2.3 was just installed on my servers (during an upgrade by them, so I didn’t mess up)
Textpattern 4.0.4 and 4.0.5 same result.

I’m digging around, trying to figure out if I missed something. Any hints or suggestions for the stupid are appreciated. I really want to make this work.

My flickr account is: Operadad There are only three pictures up these so far — for testing purposes.

Two examples of not working
Paolino Painting gallery
Dave’s new woodworking gallery

Offline

#606 2007-09-21 21:26:21

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: [plugin] [ORPHAN] vdh_flickr

Having trouble getting this plugin to show my private photos. Does that only work on vdh_flickr or can I also use email and password on thumbnails.

I’m wanting to show private pics from a specific set.

<txp:vhd_flickr_thumbnails email=“email” password=“pwd” nsid=“54337625@N00” open=“flickr” set=“72157602102544908” thumbnail_size=“s” form=“flickr_thumbnails” />


Rayne
mama love

Offline

#607 2007-09-21 21:47:23

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: [plugin] [ORPHAN] vdh_flickr

rayne, showing private pics isn’t currently possible with this plugin:
http://forum.textpattern.com/viewtopic.php?pid=151381#p151381

Offline

#608 2007-11-14 21:57:52

darche
Member
From: Zürich
Registered: 2007-07-09
Posts: 68
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hi all together, I still have the error message: Failed to connect to flickr.com!

Is there any kind of solution for this problem?

Thanks and bye!

Last edited by darche (2007-11-14 21:58:12)

Offline

#609 2007-12-14 03:02:44

dazonic
Member
Registered: 2006-10-24
Posts: 43

Re: [plugin] [ORPHAN] vdh_flickr

in the vdh_flickr_thumbnails, open= attributes are self, window, flickr and also lightbox, which is awesome.

now in the function thumbnails_link($img_url), where the lightbox option is defined, i’m trying to add captions which is done in lightbox via the title attribute in the a tag.

just beneath
$html .= '" rel="lightbox['.$set.']"';

i added

$html .= '" title="&lt;a href=&quot;http://www.flickr.com/photo_zoom.gne?id=' . $this->photo['id'] . '&amp;amp;size=o&quot; target=&quot;_blank&quot;&gt;View Full Size&lt;/a&gt;""';

which puts in a link to the original size image in flickr. now, can i get the image description in there as well? or is it not accessible inside this function? i thought maybe $this->photo['description'], but no.

any ideas?

Offline

#610 2007-12-14 16:39:56

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [plugin] [ORPHAN] vdh_flickr

ralph was planning to add this feature, not sure but I don’t think he’s had time to do anything for a while

Offline

#611 2007-12-15 01:33:39

dazonic
Member
Registered: 2006-10-24
Posts: 43

Re: [plugin] [ORPHAN] vdh_flickr

oh well. anyway, here’s an extra function i made for highslide js. pretty funky little script.

if($this->open == 'highslide') {
$html = '<a href="';
$html .= $this->getPhotoUrl($this->photo, $this->img_size);
$set = $this->set;
$set = trim($set);
$html .= '" onclick="return hs.expand(this, {captionId:\'caption'.$set.'_'.$this->photo['id'].' \'})">';
$html .= $img_url;
$html .= '</a>
<div class="highslide-caption" id="caption'.$set.'_'.$this->photo['id'].'">
<span class="caption_title">'.$this->photo['title'].'</span>
<a href="http://www.flickr.com/photo_zoom.gne?id=' . $this->photo['id'] . '&amp;size=o" target="_blank">View Full Size in <span class="caption_flickr">flick<span>r</span></span></a>
</div>';
}

Last edited by dazonic (2007-12-17 07:32:14)

Offline

#612 2007-12-15 10:19:03

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

Re: [plugin] [ORPHAN] vdh_flickr

highslide looks awesome! Do you have a demo page where you have Flickr images used with your script above?

Offline

Board footer

Powered by FluxBB