I want to replace an existing image in picasa album. For this purpose I use Zend GData PHP library:
$gphotos = new Zend_Gdata_Photos($client); $photo = $gphotos->getPhotoEntry( 'http://picasaweb.google.com/data/ entry/api/user/default/albumid/xxxxxxx/photoid/yyyyyyyy); $fd = $gphotos->newMediaFileSource($filename); //$filename="c:/ myphoto.jpg"; $fd->setContentType("image/jpeg"); $photo->setMediaSource($fd); $photo->save(); But this NOT work! What can I do to replace image? The same code work properly when I change metadata. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
