Very strange. I just verified I could upload a large image (since the test
image is minuscule) and it worked with a 5100×3338 pixel image. Can you
e-mail me an image that is failing for you? Also it might help to know what
version of Ruby you are running.

Cheers,
-Jeff

On Wed, May 6, 2009 at 8:14 AM, Leonardo Borges <[email protected]>wrote:

>
> Hey guys, I've searched the knowledge base about this issue but didn't
> find a suitable answer yet.
>
> Using ruby with the gdata gem, I'm able to list all albums in my
> account, get information like title, number of photos and etc.
>
> I am also able to create new albums perfectly but when I try to upload
> any picture, this is how my album looks like:
> http://picasaweb.google.com/leonardoborges.rj/TestAlbum
>
> As you can see, seems like the data was not properly transmitted over
> the web.
>
> This is how my upload code looks like: - pretty much taken from the
> test case
> def up_photo(test_image)
>    mime_type = 'image/jpeg'
>
>    response = @@client.post_file(@@atom_url,
>      test_image, mime_type).to_xml
>
>    puts response
> end
>
> And in the following link you can check the contents of the response I
> get after uploading the picture:
> http://pastie.org/470038
>
> Am I missing something?
>
>
> PS: The image is below the 20MB limit.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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