1bigbear Posted January 20, 2010 Share Posted January 20, 2010 Is there a simple way of uploading an image to Picasa and then getting the link to the image? I haven't found anything to do this. Quote Link to comment https://forums.phpfreaks.com/topic/189236-upload-images-to-picasa/ Share on other sites More sharing options...
MadTechie Posted January 20, 2010 Share Posted January 20, 2010 Humm..maybe read the API ! Updating a photo and its metadata To replace both the binary data and metadata for the photo that you inserted earlier, use an HTTP request like the following: PUT http://picasaweb.google.com/data/media/api/user/userID/albumid/albumID/photoid/photoID The URI is the value of the <link rel="edit-media"> tag that was returned after you did the earlier POST. In the body of the PUT, include the updated metadata and image data, in the same multipart format that you used to do the POST with metadata. Quote Link to comment https://forums.phpfreaks.com/topic/189236-upload-images-to-picasa/#findComment-999037 Share on other sites More sharing options...
1bigbear Posted January 21, 2010 Author Share Posted January 21, 2010 It is not that simple you need to login before you post and posting the image is complicated is xml, why don't they use php like the normal people do? Quote Link to comment https://forums.phpfreaks.com/topic/189236-upload-images-to-picasa/#findComment-999054 Share on other sites More sharing options...
MadTechie Posted January 21, 2010 Share Posted January 21, 2010 why don't they use php like the normal people do? I have no idea what that means! they are using GData, just like Zend's Photo Album, they even have an example of how to upload them via PHP here using Zend Gdata Photos PhotoEntry and Zend Gdata Photos AlbumQuery. Is there a simple way of uploading an image to Picasa and then getting the link to the image? If the above doesn't help you then in answer I'll say probably not. Quote Link to comment https://forums.phpfreaks.com/topic/189236-upload-images-to-picasa/#findComment-999111 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.