Oliver Albers <[EMAIL PROTECTED]> wrote: > > > Thanks for your answer. I did try that and it simply doesn't show > > > anything. Some print_r($file) didn't show up a location attribute > > > either. > > > > $object->location for attachments return relative path from Your > > system. To get full path You should know blobs dir path for this host > > and use it with $object->location. > > MidgardAttachment Object > ( > [__table__] => blobs > [id] => 412 > [sitegroup] => 2 > [N] => 1 > [__res__] => Resource id #1 > [name] => button.png > [title] => GFX > [mimetype] => image/x-png > [score] => 0 > [author] => 3 > [created] => 2003-11-28 01:43:59 > ) > > I do not have a location attribute in my attachment object. > Did I run into a known bug?
No. What You show here is object returned with fetch method. You need to use mgd_get_attachment($id) to get this data. BTW, page attachments are better for style usage IMO. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
