Can some one tell me how to use the embededd code to access things like the admin areas.  So I can upload through embed
Also is their a way to call embed and pass it a groupid and make it show that groups albums only?
And for anyone else having trouble, here is a snip from my code on using embed so far.
It's pretty much right from the docs
  require_once(_808ROOT_ . '/gallery2/embed.php');
  $ret = GalleryEmbed::init(array(
           'embedUri' => 'gallery.php', 'relativeG2Path' => 'gallery2/', 'loginRedirect' => 'index.php',
           'activeUserId' => $_SESSION['customer_id']));
  if ($ret->isError()) {
     echo $ret->getAsHtml();
     exit();
  }
  GalleryCapabilities::set('showSidebar', false);
  GalleryCapabilities::set('showSidebarGreeting', false);
  GalleryCapabilities::set('showPathbar', true);
  $g2data = GalleryEmbed::handleRequest();
  if ($g2data['isDone']) {
    exit; // G2 has already sent output (redirect or binary data)
  }
  // Use $g2data['headHtml'] and $g2data['bodyHtml']
  // to display G2 content inside embedding application
        echo $g2data['bodyHtml'];
Incase anyone is wondering, I'm using CVS currrent. as of 3/29/05  THe session sync code works really well, and it notices I'm logged in, but I don't ever get to see the upload or album manager drop downs.  Anyone else have any luck?
-Analogrithems
 
  
Posts: 32509
there's no difference admin and non admin views. take a look at docs/EMBEDDING.
no
you deactived the menus ( GalleryCapabilities::set('showSidebar', false); , GalleryCapabilities::set('showPathbar', true);
), that's why you don't see the admin things.