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 Google-Picasa-Data-API@googlegroups.com
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to