It wouldn't surprise me if this wasn't implemented properly in the client library. File an issue here:
http://framework.zend.com/issues under 'Zend_Gdata'. Cheers, -Jeff On Thu, May 21, 2009 at 2:07 PM, [email protected] < [email protected]> wrote: > > 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<http://picasaweb.google.com/data/%0Aentry/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 -~----------~----~----~----~------~----~------~--~---
