"Georg Berner" <[EMAIL PROTECTED]> wrote:
> >
> > If you want show all these images, you can use something like:
> >
> > <?php
> > $list = $article->listattachments();
> > while($list && $att = $list->fetch()) {
> > echo "<img src='$mgd_root/images/$att->id'>";
> > }
> > ?>
> >
> This is more or less what i did. Your code is just looking a bit tighter.
> Actually I want to list the attachments belonging to one article becouse i
that code lists all article's attachments
> want to write all the text belonging to the images in the article and (if I
> find a way) also a thumbnail of the image.
compile php with GD support
excellent for image manipulating
> but now it seems that i can't find out anymore which article the image was
> attached to.
used nadmin?
> I need a list of objects that have two pictures (thumb and big-one), two
> kinds of text (title and description), and all should possibly be handled by
> the user. For now it should work with (sub-)topics, that the user has to
> create. But i'm sure I'will need the article - attachment - connection in
> future. Do you have an idea?
All I think now is attachment name for title and article's parameter to store some
description.
Piotras
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]