Hi,
I checked the code for GetImageSize, and saw that if you do
> $att->parameter('size', 'HW', $size[3]);
together with the two other parameters, you get an finished formated string
for putting into a <img> tag. thats something to add to the script - at
least it saves me for a lot of coding misstakes :)
Tarjei
> $att->parameter('size', 'x', $size[0]);
> $att->parameter('size', 'y', $size[1]);
>
> If you later would do
> $att = mgd_get_attachment($id);
> you would have $att->size_x and $att->size_y available.
>
> Emile
>
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]