List Info

Thread: Re: original size url




Re: original size url
country flaguser name
United States
2007-11-01 09:01:24
Cool - let me know how it turns out. I did a quick check and
the photo 
does have medium and large photos available:

http://api.flickr.com/services/rest/?
method=flickr.photos.getSizes&api_key=2d1ed7223dd944f106
bb3d5277ab034a&photo_id=1795518611

Let me know if you have trouble getting these through Flashr
and I'll 
try and put together a test for you,

Cheers,

Kelvin 

Jassa Amir-Lang wrote:
> I'll give that a go - thanks. The ID for the photo I'm
trying to access 
> is 1795518611.
> 
> Cheers,
> Jassa
> 
> Kelvin Luck wrote:
>> Hi,
>>
>> It could be an issue with not having a Pro account
or with permissions 
>> on the photo or something else entirely. Probably
the easiest way to 
>> help you debug is if you can tell me the ID of the
photo you are trying 
>> to get the mediumUrl for.
>>
>> photosGetSizes should be easy enough to use. Simply
register a listener 
>> for onPhotosGetSizes then pass photosGetSizes a
photoId. In the 
>> onPhotosGetSizes function you get a reference to
the photo. You can call 
>> originalUrl directly or use photo.getSizes or 
>> photo.getLargestAvailableSize to get a suitable
image.
>>
>> Hope that helps,
>>
>> Kelvin 
>>
>> Jassa Amir-Lang wrote:
>>   
>>> Hi,
>>>
>>> Not sure if this is an issue with not having a
Pro account, but when I 
>>> use photo.mediumUrl I can get the url for the
photo but when I go there 
>>> I get this: http://l.yimg.com/www.flickr.com/images/photo_unava
ilable.gif
>>> Any ideas? Also, I'd ideally like to use the
photosGetSizes function to 
>>> grab the original size but I'm having trouble
with it. How is it 
>>> possible to return the originalUrl?
>>>
>>> Any pointers would be appreciated - thanks!
>>>
>>> Jassa
>>>
>>> Kelvin Luck wrote:
>>>     
>>>> Hi,
>>>>
>>>> I've now added this functionality in:
>>>>
>>>> https://mirror1.cvsdude.com/trac/osflash/flashr/chan
geset/89
>>>>
>>>> If you grab the latest copy of Flashr from
svn then you should be able 
>>>> to successfully get the original URL of
photos...
>>>>
>>>> Let me know if you have any problems with
it,
>>>>
>>>> Cheers,
>>>>
>>>> Kelvin 
>>>>
>>>> p.s. If photosGetSizes was only returning
sizes up to medium it is 
>>>> possible you still won't be able to get the
large or original size... 
>>>> They are only available for Pro users and
where the originally uploaded 
>>>> image was of sufficient size...
>>>>
>>>> dain wrote:
>>>>   
>>>>       
>>>>> hi,
>>>>>
>>>>> yeah, i meant exactly that 
>>>>>
>>>>> thanks for the quick answer!
>>>>>
>>>>>
>>>>> dain
>>>>>
>>>>> On 29/10/2007, Kelvin Luck
<kelvinkelvinluck.com> wrote:
>>>>>     
>>>>>         
>>>>>> Hi,
>>>>>>
>>>>>> I've just had a look through the
flickr list and found reference to the
>>>>>> originalsecret parameter which must
have bypassed me when it was
>>>>>> introduced to the API. I presume
this is what you are talking about when
>>>>>> you mention the forum post on
flickr?
>>>>>>
>>>>>> I will add support for this into
Flashr ASAP (hopefully this evening),
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Kelvin 
>>>>>>
>>>>>> dain wrote:
>>>>>>       
>>>>>>           
>>>>>>> hi all,
>>>>>>>
>>>>>>> i`m relatively new to flashr,
currently putting together a photo
>>>>>>> portfolio for one of my friends
and decided to use flickr as a cms.
>>>>>>> everything worked smoothly
until i wanted to get the original size
>>>>>>> photo urls, which i realised i
can`t after an afternoon of trying
>>>>>>> everything to make it work and
eventually finding the reason in a
>>>>>>> forum post on flickr.
>>>>>>>
>>>>>>> anyway, i checked the svn
repository change log and i think the
>>>>>>> problem is still not resolved,
is that right? if so, is there any
>>>>>>> chance it will get sorted in
the near future? or alternatively is
>>>>>>> there a workaround
(photosGetSizes returns the sizes up to only
>>>>>>> medium)? or even more
alternatively, can someone please point me where
>>>>>>> should i change it so it would
work? i definitely need the original
>>>>>>> sizes as he has panoramas few
thousand pixels wide..
>>>>>>>
>>>>>>>
>>>>>>> cheers,
>>>>>>> dain
>>>>>>>
>>>>>>>
_______________________________________________
>>>>>>> Flashr mailing list
>>>>>>> Flashrosflash.org
>>>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>>>         
>>>>>>>             
>>>>>>
_______________________________________________
>>>>>> Flashr mailing list
>>>>>> Flashrosflash.org
>>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>>
>>>>>>       
>>>>>>           
>>>>>
_______________________________________________
>>>>> Flashr mailing list
>>>>> Flashrosflash.org
>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>     
>>>>>         
>>>>
_______________________________________________
>>>> Flashr mailing list
>>>> Flashrosflash.org
>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>
>>>>   
>>>>       
>>>
_______________________________________________
>>> Flashr mailing list
>>> Flashrosflash.org
>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>     
>> _______________________________________________
>> Flashr mailing list
>> Flashrosflash.org
>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>
>>   
> 
> 
> _______________________________________________
> Flashr mailing list
> Flashrosflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org


_______________________________________________
Flashr mailing list
Flashrosflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org


Re: original size url
country flaguser name
Australia
2007-11-03 22:04:56
Hi Kelvin,

Finally got round to giving it a try. It's weird though
because I can 
use the following to get the largeUrl:

function onPhotosGetSizes(photo:Photo){
        trace(photo.largeUrl);
    }

But when it traces out the URL 
(http://farm3.static.flickr.com/2157/1795518611_ab
df067cff_b.jpg) it 
says image unavailable. It's so frustrating!

Any ideas?

Jassa

Kelvin Luck wrote:
> Cool - let me know how it turns out. I did a quick
check and the photo 
> does have medium and large photos available:
>
> http://api.flickr.com/services/rest/?
method=flickr.photos.getSizes&api_key=2d1ed7223dd944f106
bb3d5277ab034a&photo_id=1795518611
>
> Let me know if you have trouble getting these through
Flashr and I'll 
> try and put together a test for you,
>
> Cheers,
>
> Kelvin 
>
> Jassa Amir-Lang wrote:
>   
>> I'll give that a go - thanks. The ID for the photo
I'm trying to access 
>> is 1795518611.
>>
>> Cheers,
>> Jassa
>>
>> Kelvin Luck wrote:
>>     
>>> Hi,
>>>
>>> It could be an issue with not having a Pro
account or with permissions 
>>> on the photo or something else entirely.
Probably the easiest way to 
>>> help you debug is if you can tell me the ID of
the photo you are trying 
>>> to get the mediumUrl for.
>>>
>>> photosGetSizes should be easy enough to use.
Simply register a listener 
>>> for onPhotosGetSizes then pass photosGetSizes a
photoId. In the 
>>> onPhotosGetSizes function you get a reference
to the photo. You can call 
>>> originalUrl directly or use photo.getSizes or 
>>> photo.getLargestAvailableSize to get a suitable
image.
>>>
>>> Hope that helps,
>>>
>>> Kelvin 
>>>
>>> Jassa Amir-Lang wrote:
>>>   
>>>       
>>>> Hi,
>>>>
>>>> Not sure if this is an issue with not
having a Pro account, but when I 
>>>> use photo.mediumUrl I can get the url for
the photo but when I go there 
>>>> I get this: http://l.yimg.com/www.flickr.com/images/photo_unava
ilable.gif
>>>> Any ideas? Also, I'd ideally like to use
the photosGetSizes function to 
>>>> grab the original size but I'm having
trouble with it. How is it 
>>>> possible to return the originalUrl?
>>>>
>>>> Any pointers would be appreciated -
thanks!
>>>>
>>>> Jassa
>>>>
>>>> Kelvin Luck wrote:
>>>>     
>>>>         
>>>>> Hi,
>>>>>
>>>>> I've now added this functionality in:
>>>>>
>>>>> https://mirror1.cvsdude.com/trac/osflash/flashr/chan
geset/89
>>>>>
>>>>> If you grab the latest copy of Flashr
from svn then you should be able 
>>>>> to successfully get the original URL of
photos...
>>>>>
>>>>> Let me know if you have any problems
with it,
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Kelvin 
>>>>>
>>>>> p.s. If photosGetSizes was only
returning sizes up to medium it is 
>>>>> possible you still won't be able to get
the large or original size... 
>>>>> They are only available for Pro users
and where the originally uploaded 
>>>>> image was of sufficient size...
>>>>>
>>>>> dain wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> hi,
>>>>>>
>>>>>> yeah, i meant exactly that 
>>>>>>
>>>>>> thanks for the quick answer!
>>>>>>
>>>>>>
>>>>>> dain
>>>>>>
>>>>>> On 29/10/2007, Kelvin Luck
<kelvinkelvinluck.com> wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hi,
>>>>>>>
>>>>>>> I've just had a look through
the flickr list and found reference to the
>>>>>>> originalsecret parameter which
must have bypassed me when it was
>>>>>>> introduced to the API. I
presume this is what you are talking about when
>>>>>>> you mention the forum post on
flickr?
>>>>>>>
>>>>>>> I will add support for this
into Flashr ASAP (hopefully this evening),
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Kelvin 
>>>>>>>
>>>>>>> dain wrote:
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>> hi all,
>>>>>>>>
>>>>>>>> i`m relatively new to
flashr, currently putting together a photo
>>>>>>>> portfolio for one of my
friends and decided to use flickr as a cms.
>>>>>>>> everything worked smoothly
until i wanted to get the original size
>>>>>>>> photo urls, which i
realised i can`t after an afternoon of trying
>>>>>>>> everything to make it work
and eventually finding the reason in a
>>>>>>>> forum post on flickr.
>>>>>>>>
>>>>>>>> anyway, i checked the svn
repository change log and i think the
>>>>>>>> problem is still not
resolved, is that right? if so, is there any
>>>>>>>> chance it will get sorted
in the near future? or alternatively is
>>>>>>>> there a workaround
(photosGetSizes returns the sizes up to only
>>>>>>>> medium)? or even more
alternatively, can someone please point me where
>>>>>>>> should i change it so it
would work? i definitely need the original
>>>>>>>> sizes as he has panoramas
few thousand pixels wide..
>>>>>>>>
>>>>>>>>
>>>>>>>> cheers,
>>>>>>>> dain
>>>>>>>>
>>>>>>>>
_______________________________________________
>>>>>>>> Flashr mailing list
>>>>>>>> Flashrosflash.org
>>>>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>>
_______________________________________________
>>>>>>> Flashr mailing list
>>>>>>> Flashrosflash.org
>>>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>>>
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>
_______________________________________________
>>>>>> Flashr mailing list
>>>>>> Flashrosflash.org
>>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>>     
>>>>>>         
>>>>>>             
>>>>>
_______________________________________________
>>>>> Flashr mailing list
>>>>> Flashrosflash.org
>>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>
_______________________________________________
>>>> Flashr mailing list
>>>> Flashrosflash.org
>>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>>     
>>>>         
>>>
_______________________________________________
>>> Flashr mailing list
>>> Flashrosflash.org
>>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>>
>>>   
>>>       
>> _______________________________________________
>> Flashr mailing list
>> Flashrosflash.org
>> http://osflash.org/mailman/listinfo/flashr_osflash.org

>>     
>
> _______________________________________________
> Flashr mailing list
> Flashrosflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org

>
>   


_______________________________________________
Flashr mailing list
Flashrosflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )