function deletePhoto($photoId) {
        $photos = new Zend_Gdata_Photos($this->client);
        
        $photoQuery = new Zend_Gdata_Photos_PhotoQuery;
        $photoQuery->setUser($this->user);
        $photoQuery->setAlbumId($this->album);
        $photoQuery->setPhotoId($photoId);
        $photoQuery->setType('entry');
       
        $entry = $photos->getPhotoEntry($photoQuery);
        
        $photos->deletePhotoEntry($entry, true);
    }