Andrey Subbotin <[EMAIL PROTECTED]> wrote:

> Hello All,
> 
> Hmm... I still miss something: Can I manipulate images in an image
> gallery from under another sitegroup?

logged as SG0 user You may do everything while logged 
as SGx user You may only manipulate SGx objects
 
> I can create image galleries being logged in as admin of SG0... And I
> can manipulate images in the gallery only being logged as a user of
> the appropriate sitegroup... that of the gallery belongs to. :-/

what You mean image gallery here?


> Some time ago Henri was arguing that it'd be cool to allow image
> manipaluation from within SG0... and...?

logged as SG0 user .... etc etc
 
> Could someone, please, tell me what's the current state of the
> gallery?

what gallery?
 
> And yet... I'd really appreciate it, if someone could provide me with
> a code example of using image galleries?


example code:

<? $object = mgd_list_topics($id);

        while ($object && $object->fetch()) 
        {
        $image = $object->listattachments();
                while ($image && $image->fetch())
                        {
                        print " $object->name by $object->creator";
                        print "<IMG src=\"page defined for serving 
attachments/$image->id(name).jpg\">
                        print $object->description;
                        }
        }
?>

sorry for typos but I didn't checked that

replace mgd_list_topics with mgd_list_topic_articles or whatever You want to 
use as image gallery objects


Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to