Posted by rf on 09/25/05 14:59
diablo
> hi
Er, G'day.
> is there a way to restrict the width and height of an img?
>
> what i want to do is if the img is less than 200x200 then i want it
> displayed at its size. but if it is bigger that 200x200 then i want it to
be
> resized as 200x200.
Surely you know the size of the image. You are serving it up, aren't you?
You can adjust its size in you image editor.
BTW do not use the browser to resize an image. Browsers to a terrible job of
it.
Cheers
Richard.
[Back to original message]
|