Search the web
Sign In
New User? Sign Up
yws-flickr · YDN Flickr Developer Support Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Retrieving original image url from photosets.getPhotos()   Message List  
Reply | Forward Message #5421 of 5529 |
Re: [yws-flickr] Retrieving original image url from photosets.getPhotos()

flickr does not generate the "large" version in all cases. it depends on
the pixel-size of the original.

i don't know what the exact size threshold is, but if the original dimension
is smaller than a certain size (which is larger than "large" = 1024px),
flickr won't generate the "large" version.

maybe the threshold is 1500px?

-t

----- Original Message -----
From: "Cristian Vitalariu" <cristian.vitalariu@...>
To: <yws-flickr@yahoogroups.com>
Sent: Thursday, November 05, 2009 23:46
Subject: Re: [yws-flickr] Retrieving original image url from
photosets.getPhotos()


Hi,
Thank you both for your help. You were right:
- the original image has an "originalsecret" property which is
different from the "secret" property
- you can get the original secret either by calling photos.getInfo or
(in my case) photosets.getPhotos with an extra parameter of "url_o"
- as3flickrlib is a library for actionscript. I'm not sure if these
are bugs but they handle farms incorectly and I cannot send the
"extras" request in photosets.getPhotos (this is actually the source
of all of my problems...)

Regarding the original/large photos, it seems I really don't have a
"large" version:
http://www.flickr.com/photos/cristianvitalariu/3947180459/sizes/o/
Why is that?

Thank you again,

On Nov 5, 2009, at 3:12 PM, cristian_vitalariu wrote:

> Hi,
> I've been working on a Flex (Flex3, Cairngorm and as3flickrlib)
> project that acts as an image gallery using your flickr sets and
> photos.
> I am able to retrieve sets and photos in sets, organize them the way
> that I want and display them.
> The url structure I'm using right now is:
> url = "http://static.flickr.com/" + tempPhoto.server + "/" +
> tempPhoto.id + "_" + tempPhoto.secret + ".jpg";
> (tempPhoto is a as3flickrlib Photo object)
>
> The problem is that I cannot seem to be able to retrieve the
> original image url.
> I've tried adding "_o.jpg" at the end of the url (that gives me an
> "image not available" white image)
> My images are public and the original images are actually there (i
> can see them inside a browser).
>
> Do I need to authenticate and get a token before I can access those
> urls?
> If so, I was able to get the frob, login and get the token, but I'm
> not really sure what to do with it next.
> How is the photosets.getPhotos() response going to change?
>
> I HAVE searched the lists and google and couldn't come up with an
> answer.
>
> Thanks,
>
>
>






Fri Nov 6, 2009 8:04 am

immediate_bo...
Online Now Online Now
Send Email Send Email

Forward
Message #5421 of 5529 |
Expand Messages Author Sort by Date

Hi, I've been working on a Flex (Flex3, Cairngorm and as3flickrlib) project that acts as an image gallery using your flickr sets and photos. I am able to...
cristian_vitalariu
cristian_vit...
Offline Send Email
Nov 5, 2009
1:14 pm

The secret for the original image is different from the secret for all other images. If you are not a Pro user then the original secret is not available. Sam ...
Sam Judson
wackylabs
Offline Send Email
Nov 5, 2009
1:58 pm

Damn it! Are you sure about this? How about the large version? I'm a pro user and the large version is not available on any of my photos......
Cristian Vitalariu
cristian_vit...
Offline Send Email
Nov 6, 2009
6:50 am

if you are a pro user, the large version and the original are available, but the original uses a different secret from all other sizes. if you call...
Tristan Savatier
immediate_bo...
Online Now Send Email
Nov 6, 2009
7:07 am

i have no idea what as3flickrlib is. maybe there is a bug in this library. maybe they don't handle correctly the original secret. but you can play with the...
Tristan Savatier
immediate_bo...
Online Now Send Email
Nov 6, 2009
7:10 am

Hi, Thank you both for your help. You were right: - the original image has an "originalsecret" property which is different from the "secret" property - you can...
Cristian Vitalariu
cristian_vit...
Offline Send Email
Nov 6, 2009
7:47 am

You don't have a 'large' image because the original isn't big enough. Sam 2009/11/6 Cristian Vitalariu <cristian.vitalariu@...>...
Sam Judson
wackylabs
Offline Send Email
Nov 6, 2009
8:04 am

flickr does not generate the "large" version in all cases. it depends on the pixel-size of the original. i don't know what the exact size threshold is, but if...
Tristan Savatier
immediate_bo...
Online Now Send Email
Nov 6, 2009
8:04 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help