"Georg Berner" <[EMAIL PROTECTED]> wrote: > > > > that code lists all article's attachments > > Sure, i abused $article for mgd_list_topics();
:) I spent one day three hours on looking for a bug while I wrote 'artcile' instaed of :'article' ;) > > > > compile php with GD support > > excellent for image manipulating > > I suppose nadmin allready produces thumbnails, when you attache images, i > just can't figure where they are stored and how to get them out again. nadmin is php and midgard application It does not support any images manipulation (maybe imagemagick?) > > > > > but now it seems that i can't find out anymore which article the image > was > > > attached to. > > > > used nadmin? > > I guess nadmin attaches article-attachments to the topic of this article? > And how do Asgard or Aegir solve this problem. nadmin attache images to article's topic which is good cause You have all articles in one place , but is not good cause You do not have much possibilities to make things as You wish > > > 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. > > You mean: mgd_get_article_by_name($attachment->name); ? no article has two attachments big_image and small_image while You create big_image there is also created article's parameter with domain - picture name - big_picture value - description and the same for small_image I do not know if it is the best solution. There may be many of them. Personally I would like to make that very simple with GD support. let's say topic's name is "Vacation - summer 2002" than You create as many articles as images from that vacation One article has one attachment so You may use that way all articles function. $article->name = name of image $article->listattachments = image $article->abstract(content) = description. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
