List Info

Thread: Re: original size url




Re: original size url
country flaguser name
United States
2007-11-01 12:24:04
Kelvin;

I have been trying to sue the originalUrl but it does not seem to work. ; I am finding that originalSecret is undefined.  I downloaded FlashrApiResponse.as and Photo.as.  I know some images are small but I have others that are greater then 500px wide. ; I would like to just download all original images, do I need a Pro membership for that?

Thanks;
Raymond


From: Kelvin Luck <kelvinkelvinluck.com>
Sent: Thursday, November 01, 2007 10:01 AM
To: flashrosflash.org
Subject: Re: [Flashr] original size url


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

Can you provide your code? Maybe I can see where the problem
is if you 
show it,

Cheers,

Kelvin 

p.s. if you are using photosSearch then you should be
passing 
"original_format" in the "extras"
parameter if you want to get back the 
information necessary to get the original format.

Web Mail wrote:
> Kelvin;
> 
> I have been trying to sue the originalUrl but it does
not seem to work.  
> I am finding that originalSecret is undefined.  I
downloaded 
> FlashrApiResponse.as and Photo.as.  I know some images
are small but I 
> have others that are greater then 500px wide.  I would
like to just 
> download all original images, do I need a Pro
membership for that?
> 
> Thanks;
> Raymond
> 
>
------------------------------------------------------------
------------
> *From*: Kelvin Luck <kelvinkelvinluck.com>
> *Sent*: Thursday, November 01, 2007 10:01 AM
> *To*: flashrosflash.org
> *Subject*: Re: [Flashr] original size url
> 
> 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
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


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


[1-2]

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