Guardian-Mage Posted February 13, 2008 Share Posted February 13, 2008 I have an image that is 1200x1000 for people with a 1280x1024 browser. My problem is, it is still to high when you factor in the status bar, task bar, tabs, and anything else a browser or user might have. I want to use CSS if at all possible, or if not, I can use javascript to resize the picture to take up the ENTIRE USABLE page space. How might I do this? Quote Link to comment https://forums.phpfreaks.com/topic/90961-expanding-images-to-fit-the-page/ Share on other sites More sharing options...
phpQuestioner Posted February 13, 2008 Share Posted February 13, 2008 You can repeat the image with css; if you want like a background image or you can do as you were saying and use JavaScript to resize the image based on the screen resolute. You could also resize the image server side with the PHP GD Library. It just really depends on which way you want to go. Quote Link to comment https://forums.phpfreaks.com/topic/90961-expanding-images-to-fit-the-page/#findComment-466332 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.