>----- Original Message -----
> From: Emiliano <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: Thu, 6 Sep 2001 16:08:43 +0200
> Subject: Re: [midgard-user] nadmin images
> 
> On Thursday 06 September 2001 15:57, you wrote:
> > > I don't know the details of nadmin, but this looks like a bug on first
> > > view. Images can be attached to articles too.
> >
> > All the things I can put In my hands is bug ;)))))
> 
> Alan will probably know more about this issue. It may well be by design; I 
> don't know.

This was by design, in the snapshot version (M5) it is now an option in the settings - 
eg. store all images with parent or child.

> 
> > I got second question:
> > If I added more then one attachment to object,
> > what is the easy way ( I do not think there is)
> > to get only one attachment. Using for instead of fetch,
> > will get the latest one, I think.
> 
> Fetch by name:
> 
> $object->getattachment("name");
> 
> > And how to add two images (original and thumbnail)
> > and get thumb in article content linked to original one?

nadmin snapshot has some ability to do this..(jpgs only), if you upload an image eg. 
mydog.jpg, place it on a page, then resize it using the dialog, it will change the 
image name to mydog_20x40.jpg, the attachment code will attempt to build a thumbnail 
at 20x40 and store it if you are authenticated.

it also does 00x40 eg. scale proportionaly to a max x or y of 40.

It requires the gd lib to be compiled correctly (which is not easy sometimes!)

regards

alan


> 
> That needs coding.
> 
> Emile
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



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

Reply via email to