Page 1 of 1

Preventing scaled image.

Posted: Fri Apr 04, 2008 5:40 pm
by ploceus
I'm having trouble with GD graphics. How do I prevent the browser from toggling between original size and a scaled image size? In other words, a small magnifying glass (with+/-) is shown and user can toggle between image sizes.

I know that this default behavior can be avoided by resizing the browser window. For various reasons, I don't want to do that.

I would like to disable this toggling and show at one fixed image size, regardless of browser window size. How can I do this?

Thanks.

Re: Preventing scaled image.

Posted: Fri Apr 04, 2008 9:48 pm
by John Cartwright
This falls within the domain of the browser and not GD. I'm not sure if there is a standard for such a CSS property..