Allie1138 Posted December 26, 2007 Share Posted December 26, 2007 Hi all... Id like to resize a background image while the viewer resizes the browser. easy to do... BUT I would like it to keep its aspect ratio! I dont want the image to go really wide when the viewer maximizes the browser and i dont want the image to go too skinny. I know this can be done in flash as it is here: http://www.flashden.net/files/8682/index.html (see how the image stays at its ratio?) Is there any way at all for doing this without flash???? Theres got to be! Any help is appreciated!!! thanks :-) Quote Link to comment Share on other sites More sharing options...
jos. Posted December 27, 2007 Share Posted December 27, 2007 a round about way would be to get the users screen size with javascript then post it with AJAX to a PHP script that would dynamically resize the image per request... but there must be an easier way then that ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.