This image:

http://lh4.ggpht.com/_hacMegFKdtM/SWfAuT1zWvI/AAAAAAAACs4/QRbrDjSZPdU/AAD_3321.jpg

Is larger than 800 pixels so it cannot be directly embedded in a web page.
Append "imgmax=800" to your feed to get around this:

http://photos.googleapis.com/data/feed/api/user/alastair.halliday?album/RecentWork?tag=nature&imgmax=800

Cheers,
-Jeff

On Sat, Apr 18, 2009 at 12:21 PM, Alastair Halliday <
[email protected]> wrote:

> Jeff,
> now that the tag search has been fixed on the google end I am getting odd
> behavior from image calls I am trying to make from Flash. Still unable to
> get the public to see my public images.
>
> Locally:
> calls to this thumb work:
> http://lh4.ggpht.com/_hacMegFKdtM/SWfAuT1zWvI/AAAAAAAACs4/QRbrDjSZPdU/s144/AAD_3321.jpg
> calls to this image work:
> http://lh4.ggpht.com/_hacMegFKdtM/SWfAuT1zWvI/AAAAAAAACs4/QRbrDjSZPdU/AAD_3321.jpg
>
> Online:
> calls to this thumb work:
> http://lh4.ggpht.com/_hacMegFKdtM/SWfAuT1zWvI/AAAAAAAACs4/QRbrDjSZPdU/s144/AAD_3321.jpg
> calls to this image DO NOT work:
> http://lh4.ggpht.com/_hacMegFKdtM/SWfAuT1zWvI/AAAAAAAACs4/QRbrDjSZPdU/AAD_3321.jpg
>
> If I paste the large imageURL into a browser I can get the image no
> problem. Is there some reason that Flash would be restricted permission to
> view the large image online, but not the thumb?
>
> I am using:
> System.security.loadPolicyFile("
> http://photos.googleapis.com/data/crossdomain.xml";);
>
> and my XML calls where I find the image location are all via
> http://photos.googleapis.com/data/feed/api/user/alastair.halliday?<http://photos.googleapis.com/data/feed/api/user/alastair.halliday?tag=nature&kind=photo>
> album/RecentWork?tag=nature<http://picasaweb.google.com/data/feed/api/user/alastair.halliday/album/RecentWork?tag=nature>
>
> I can't seem to find any other direct URL to a large image that is under
> the photo.googleapis domain where the crossdomain would work, but I find the
> difference in behavior between the thumb and full image size, and local vs
> online puzzling. It does NOT matter if I am looked into google for both
> local and online tests, the results are the same.
>
> On Wed, Mar 11, 2009 at 2:12 PM, Jeff Fisher <[email protected]>wrote:
>
>> Hmm seems like it's only tag search on albums that is broken. Tag search
>> on your user feed works fine:
>>
>>
>> http://photos.googleapis.com/data/feed/api/user/alastair.halliday?tag=nature&kind=photo
>>
>> The problem with album tag search isn't specific to photos.googleapis.com,
>> but is also broken on picasaweb.google.com as well:
>>
>>
>> http://picasaweb.google.com/data/feed/api/user/alastair.halliday/album/RecentWork?tag=nature
>>
>>
>> I call your bluff on saying that no query parameters work from the list:
>>
>>
>> http://photos.googleapis.com/data/feed/api/user/alastair.halliday/album/RecentWork?imgmax=800&thumbsize=144&max-results=5&start-index=5&access=public&kind=photo
>>
>> Cheers,
>> -Jeff
>>
>>
>> On Wed, Mar 11, 2009 at 10:41 AM, Jeff Fisher <[email protected]>wrote:
>>
>>> Ah, this is just really broken it seems. Sorry about that. I'm surprised
>>> that you are the first person to report it (I suppose that says something
>>> about our Flash adoption.)
>>>
>>> Here's the issue to watch as we work on the resolution:
>>>
>>> http://code.google.com/p/gdata-issues/issues/detail?id=1089
>>>
>>> Cheers,
>>> -Jeff
>>>
>>>
>>> On Mon, Mar 9, 2009 at 1:43 PM, Alastair Halliday <
>>> [email protected]> wrote:
>>>
>>>> Thanks Jeff.
>>>> That doesn't seem to be the problem. I was aware of it, but in order to
>>>> do due diligence I thought I would try both crossdomain urls anyway.
>>>>
>>>> The problem seems to be the following: using photos.googleapis.com no
>>>> parameter works from this entire table in the reference guide:
>>>> http://code.google.com/apis/picasaweb/reference.html#Parameters
>>>>
>>>> The following works:
>>>>
>>>> http://photos.googleapis.com/data/feed/api/user/alastair.halliday/album/RecentWork
>>>>
>>>> The following does NOT work:
>>>>
>>>> http://photos.googleapis.com/data/feed/api/user/alastair.halliday/album/RecentWork?tag=nature
>>>>
>>>> actually, any parameter after the "?" does not work, regardless of if
>>>> that data exists in the album. Is this a bug, have you discontinues the use
>>>> of any of those parameters from the reference table you provide at
>>>> http://code.google.com/apis/picasaweb/reference.html#Parameters as well
>>>> as doubling it up with album/albumID in the example below the table? Any
>>>> help would be greatly appreciated. I would like to be able to select photos
>>>> from an album using tags like I could previously. Thanks.
>>>>
>>>> On Mon, Mar 9, 2009 at 2:08 PM, Jeff Fisher <[email protected]>wrote:
>>>>
>>>>> Surely then you realize that
>>>>>
>>>>> http://picasaweb.google.com/data/crossdomain.xml
>>>>>
>>>>> does not exist. We do not put permissive crossdomain.xml files on
>>>>> google.com domain names, which is why photos.googleapis.com exists.
>>>>> You need to use the API through this alternate hostname:
>>>>>
>>>>>
>>>>> http://photos.googleapis.com/data/feed/api/user/MY_USER_NAME/album/RecentWork?tag=nature
>>>>>
>>>>> Cheers,
>>>>> -Jeff
>>>>>
>>>>>
>>>>> On Sat, Mar 7, 2009 at 7:12 PM, Calvinist <[email protected]
>>>>> > wrote:
>>>>>
>>>>>>
>>>>>> I'm building a flash site that uses the picasa web album api. I AM
>>>>>> using the System.security.loadPolicyFile("
>>>>>> http://photos.googleapis.com/
>>>>>> data/crossdomain.xml<http://photos.googleapis.com/%0Adata/crossdomain.xml>");
>>>>>> and have also tried using
>>>>>> System.security.loadPolicyFile("http://picasaweb.google.com/data/
>>>>>> crossdomain.xml <http://picasaweb.google.com/data/%0Acrossdomain.xml>");
>>>>>> to try and resolve this issue.
>>>>>>
>>>>>> I put down my project for three weeks, three weeks later, I get error
>>>>>> messages whenever tI try to hit the api with the following URL:
>>>>>>
>>>>>> http://picasaweb.google.com/data/feed/api/user/MY_USER_NAME/album/RecentWork?tag=nature
>>>>>>
>>>>>> This album is public.
>>>>>>
>>>>>> I get errors accessing that URL in the following scenarios:
>>>>>> When published directly from flash, not within a browser window (for
>>>>>> testing)
>>>>>> When all files are online in either safari OR FF
>>>>>> When I try to open the page locally via FF (cookies on, but having
>>>>>> never logged into picasa)
>>>>>> When I paste the URL directly into FF
>>>>>>
>>>>>> I DON'T get errors in the following circumstance:
>>>>>> When I view the page from my local computer in safari after being
>>>>>> logged into picasa.
>>>>>>
>>>>>> Since this album is public I am not understanding this issue. I am
>>>>>> also not understanding this issue because it worked perfectly three-
>>>>>> four weeks ago, and after simply trying to open the file up again it
>>>>>> doesn't work any more. I am totally confused. Any help would be
>>>>>> GREATLY appreciated. This is a last resort for me.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to