Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#553 2007-06-10 11:03:20
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Is it really the date taken or the date posted? According to flickr, no conversion is applied to the date taken, it’s the same date that is saved in the exif-data of the image. In contrast to this, the date posted is saved in gmt, and it is up to the application to convert the date to the applying timezone. Currently, vdh_flickr does only display the date posted in gmt format, but I can add this to the list of requested features for the next version.
Offline
#554 2007-06-10 17:35:02
Re: [plugin] [ORPHAN] vdh_flickr
I finally found the link to More properties. As you can see the taken time is 12:35 CDT but shows as 7:35 via the plug-in. I confirmed this by editing the taken time in Flickr (to 15:35) and reloading the page in my site. The time stamp changed by an equivilant amount (to 10:35).
I have a little better understanding about how Flickr works now after reading the page you linked: No timezone information is stored for the time taken — the timezone shown on More properties comes from the user timezone set the Edit your profile page. I confirmed this by changing my timezone from CDT to GMT. The photo continued to show 12.35 on Flickr and 7:35 on my site, although on More properties the timezone did change from CDT to GMT.
And just to be clear, I checked a variety of my photos, and they’re all off by a consistent 5 hours. That got me suspicious about my host, since no-one else has posted about this problem. Then it dawned on my that I have a control case: my old site that I’m replacing, which is on another server. A quick check confirmed that there is a difference between the two: my old server doesn’t even display the time when using txp:vdh_flickr_img_date_taken!
So my next question is, what determines the formatting of the taken and posted dates, because it seems like it’s getting some kind of default from the server.
Offline
#555 2007-06-11 13:16:47
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
I’m using the time formatting functions in TxP’s textpattern/lib/txplib_misc.php
file. I’ve found out that there ist a function to calculate the offset between the server local time and the user’s selected time zone, too, so this problem should be easy to solve. Maybe I find some time next weekend to fix this.
Offline
#556 2007-06-11 14:25:28
Re: [plugin] [ORPHAN] vdh_flickr
Great. Thanks for looking into it. I’m in no hurry to have it fixed—just wanted to confirm that what I was seeing wasn’t me doing something wrong.
Offline
#557 2007-06-14 12:41:21
- marvincooper
- Member
- Registered: 2004-10-13
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
I’ve just started to use this plugin and I want to show private pictures from flickr. The plugin documentation says I need my flickr username and email address, but now flickr has been yahoo’d, so how can I do this with the new yahoo login for flickr?
Offline
#558 2007-06-15 19:24:22
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Showing private pics is not possible with the current version of the plugin, I’m sorry. Once I tried to completely rewrite the whole plugin from scratch with support for the new auth api. You can download vdh_flickr_alpha_03.zip, but it is not as feature complete as the current stable version and the installation is a little bit different. More info in the package.
Offline
#559 2007-06-16 03:34:49
- marvincooper
- Member
- Registered: 2004-10-13
- Posts: 43
Re: [plugin] [ORPHAN] vdh_flickr
OK, thanks
Offline
#560 2007-06-26 03:13:18
Re: [plugin] [ORPHAN] vdh_flickr
I’m having trouble linking to the orginal size. I think it might be a problem with the Flickr account and not the plugin because I’ve gotten my setup to work with a different flickr user. I’ve asked flickr to look into it, but thought check to see if any else here had a similar problem.
The people I’m setting this up for have a new Pro account. So it should work. But I just get photo unavailable from a weird domain.
Has anyone else had this problem with a flickr account?
Using a stranger’s flickr account, everything works fine
Here’s the test that uses the same forms and vdh tag, but does not work
The high-res link seems correct: http://static.flickr.com/1252/593247601_55e4954080_o.jpg seems correct.
On flickr, you’ll see the photo does have an original size available
Thanks for listening. Any thoughts greatly welcomed…
Offline
#561 2007-06-26 09:37:56
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Flickr changed the URL scheme of the original images some time ago. So freshly uploaded images do not work at the moment. This is a pretty quick fix, so I think I can do it within this week.
Offline
#562 2007-06-26 17:09:49
Re: [plugin] [ORPHAN] vdh_flickr
Oh. I thought I was going crazy. So will your plugin need to generate a different url depending on when the image was uploaded? I’m not a coder, but maybe I’ll see if I can’t figure out a temporary fix for your plugin.
Thanks for digging into this and giving us such a great utility. Do you take paypal donations?
Offline
#563 2007-06-26 19:37:18
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
I adjusted the plugin to use the new url scheme. In order to link to original images, you must allow anyone to download your photos in the flickr privacy settings. You can download the new version on the download page.
Offline
#564 2007-06-26 21:52:09
Re: [plugin] [ORPHAN] vdh_flickr
thanks ralph. I updated the plugin but the link still isn’t working. The url has the new farm scheme, but still leads to the same not available page.
http://farm2.static.flickr.com/1252/593247601_55e4954080_o.jpg
Offline