[Flashr] _falshr.photosGetContext problem!

Kelvin Luck kelvin at kelvinluck.com
Tue May 16 17:18:24 EDT 2006


Just a little update on this... I've raised the question [1] on the 
flickr mailing list so we will see if flickr decide to make the API 
return the server for the previous and next photos.

In the meantime, you could call photosGetInfo for each photo before 
trying to load its small size. This would make sure that Flashr new 
which server the photo was on. Or you can use the thumbnail size which 
the flickr API currently returns the URL for,

Hope that helps - I'll update you when I hear back from flickr,

Cheers,

Kelvin :)

[1] http://groups.yahoo.com/group/yws-flickr/message/1747

Kelvin Luck wrote:
> Hi,
> 
> It looks like there may be a problem here... I don't have time to look 
> into it properly right now but I will as soon as I get a chance... 
> Basically flickr.photos.getContext doesn't return the server for the 
> photos it is returning... I've had a quick check and it seems like it 
> does return a "thumb" attribute which could help - I'll see if I can get 
> Flashr acting how you would expect,
> 
> Cheers,
> 
> Kelvin :)
> 
> Özgür ALTAY wrote:
>> Hi,
>> I have a problem with _flashr.photosGetContext(some id); function...
>>  
>> It is ok when i get the forward / backward the tag finished. when i 
>> tried to access another tag's "photo.smallUrl" i get this error:
>> http://static.flickr.com/undefined/17978959_70faecfdf8_m.jpg //it is 
>> undefined you see...
>> the other datas are fine (eg. photo.title, photo.description) but why 
>> the "photo.smallUrl" isnt correct in url? Is this a problem in flashr?
>>
> 
> 



More information about the Flashr mailing list