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.
| Comment | File | Size | Author |
|---|---|---|---|
| flickr.inc-originalsize.patch | 676 bytes | remi |
Comments
Comment #1
remi commentedI 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!
Comment #2
lolandese commentedChanged status as there is a patch to review.
Thanks.
Comment #3
lolandese commentedThe patch needs to be rerolled for D7 if still relevant (it seems so).
For D6 see #2367755: D6 maintenance.
Comment #4
lolandese commentedJust tested the D7 Flickr Filter with:
[flickr-photo:id=4258169177, size=o, mintitle=999, minmetadata=999]It gets the original size without using
$photo['originalsecret']. In D7 this doesn't seem to be an issue.I realize the patch was made for D6 for which it might have been relevant. Feel free to reopen if you think this issue is still relevant for D7. We only do critical bug fixes on D6 now (see #2367755: D6 maintenance)
Thanks.