The problem here is how are you going to get access to the local file system
via JavaScript? If the Picasa Web Albums API supported retrieving a token to
make a form post similar to how the "web based uploader" of the YouTube API
works, then you might be able to do it. Currently, you're stuck because
you're not going to be able to get access to the raw bytes of the image file
without having the user first POST them to some other website which then
relays the information to the PWA API, which isn't terribly efficient.

Cheers,
-Jeff

On Wed, Feb 25, 2009 at 1:44 PM, T <nspectorgad...@gmail.com> wrote:

>
> Hi all,
>
> I've seen that you can upload photos to a web album from most common
> languages, but I am wondering if it is possible to create a web page
> where a user can upload files from the machine directly to their
> picasa web album (using Javascript).
>
> I have seen the uploaders for windows and macs, but I'm thinking about
> scenarios where the user is using a computer that is not their own
> (maybe a university pc lab or a cybercafe computer) and cannot
> necessarily install software on the machine but can upload photos from
> their camera.  Of course, they can browse to the picasa web album web
> app, but suppose they are using another web app for other services,
> and they also want to upload photos from the same page.
>
> Is it possible - perhaps using the google data apis - to upload these
> photos from the local disk to the web album account using a non-Google
> web page?  If so, can I see some sample code?
>
> Thanks very much,
> T
>
> >
>

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