PHP Developers Network
http://forums.devnetwork.net/

Preventing scaled image.
http://forums.devnetwork.net/viewtopic.php?f=40&t=80973
Page 1 of 1

Author:  ploceus [ Fri Apr 04, 2008 5:40 pm ]
Post subject:  Preventing scaled image.

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.

Author:  John Cartwright [ Fri Apr 04, 2008 9:48 pm ]
Post subject:  Re: Preventing scaled image.

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..

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/