But updating each entry to be in a new album would be just as painful as deleting each entry.
Cheers, -Jeff 2009/4/23 Олександр <[email protected]> > > Thx you Jeff for response. > > I try myself find more efficient way how delete images from picasaweb > storage and I think than will be better (and faster) if I put image, > which I need delete, from dropbox to some album (e.g. "fordelete") and > by cron drop this album and create it again but empty. How think this > is idea (moving from dropbox to album) will work faster against > sending delete request for every photo? > > > > On Apr 22, 8:27 pm, Jeff Fisher <[email protected]> wrote: > > Correct, you have to loop through every photo entry you want to delete > and > > explicitly delete it. > > > > Cheers, > > -Jeff > > > > On Tue, Apr 21, 2009 at 2:58 PM, Олександр <[email protected] > >wrote: > > > > > > > > > I use Zend Framework Library for picasa web api. Is it possible delete > > > not only one photo from picasa storage (like in tutorial)? I havn't > > > problem with deleting one photo from picasa storege, but what about 2 > > > or 3 photo deletion at once? Maybe I need create service object one > > > time and than send queries for every photo that I need delete? > > > > > I don't use albums. I put all images to dropbox and save in local > > > database it's url, pisaid, etc. > > > > > Some string from my code. > > > > > This is deleting of one photo. > > > $user = $this->_config->picasa->login; > > > $pass = $this->_config->picasa->pass; > > > $albumId = "default"; > > > > > $service = Zend_Gdata_Photos::AUTH_SERVICE_NAME; > > > $client = Zend_Gdata_ClientLogin::getHttpClient($user, > > > $pass, $service); > > > $service = new Zend_Gdata_Photos($client); > > > > > Maybe this string must be in looping of deleting photo by photo? > > > $photoQuery = new Zend_Gdata_Photos_PhotoQuery; > > > $photoQuery->setUser($user); > > > $photoQuery->setAlbumId($albumId); > > > $photoQuery->setPhotoId($picasaId); > > > $photoQuery->setType('entry'); > > > > > $entry = $service->getPhotoEntry($photoQuery); > > > $service->deletePhotoEntry($entry, true); > > > > > Sorry for my English ), it's not my native language. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
