>
> 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
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.
but now it seems that i can't  find out anymore which article the image was
attached to.
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?


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

Reply via email to