Use "originalsecret" value to obtain the URL of originals

remi - July 10, 2009 - 15:19
Project:Flickr
Version:6.x-1.1
Component:flickr (main module)
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am not certain if the Flickr module already has support for original-size photos. As far as I can tell, every time I try to get the original of a photo using the Flickr module, it fails. I get the wrong URL and when trying to load the image, all I can see is an error image from Flickr saying the picture is currently unavailable.

I had to patch the flickr.inc file in order to allow the module to fetch the original size. When trying to obtain the URL of an original, it will use the "originalsecret" value rather than the usual "secret" value to generate the URL.

The patch is attached to this issue page for everyone's review.

AttachmentSize
flickr.inc-originalsize.patch676 bytes

#1

remi - July 10, 2009 - 15:57

I just realised the code style in the patch file is all messed up because I was using tabs instead of spaces. My apologies. At least, it works!

 
 

Drupal is a registered trademark of Dries Buytaert.