Scale an image to the browser window

You may also like...

15 responses to “Scale an image to the browser window”

  1. Great blog! Very clear and easy to understand. I’ve always wondered what size the image should be in the first instance, surely with all the new 27″ monitors a 1000px wide image would look a bit pixelised?

  2. Dipo says:


    I was wondering if you knew how to scale the pictures if you are doing it on FLASH.

    I am creating a flash based website for a friend. I have done all the links and it works great. The only thing is that the images increase as the web browser is maximised.

    I would like it to decrease as the web browser is decreased, but to increase to a certain size 900 x 651, and stay that size no matter how big the browser is increased by.

    Would you be able to help?



  3. Mark says:

    I was searching for a good long while trying to get my head around how to do this. to many people online were giving long explanations using code only to get around it and typing out the whole thing. This on the other hand is the best thing I came across. Not only is it easy to understand its a hell of a lot quicker than typing out streams of code.

  4. blake says:

    I followed this to a “T”. Nothing. Did not work. What am I doing wrong? If you had more screen shots, I’d think it’d work.

  5. […] Scale an image to the browser window | Dreamweaver | Web DesignerApr 9, 2010 … The procedure for creating a scaling image is relatively simple, but it brings … The only thing is that the images increase as the web browser is … […]

  6. lou says:

    This was easy to follow until it displays a load of wording on my website, i have managed to create this image that fits to every browser in photoshop but cannot set as background in dreamweaver

  7. Christine says:

    You can definitely see your expertise in the work you write. The world hopes for more passionate writers like you who are not afraid to say how they believe. Always go after your heart.

  8. Vernon says:

    It’s actually a cool and helpful piece of information. I am glad that you shared this useful information with us. Please keep us informed like this. Thanks for sharing.

  9. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove me from that service? Appreciate it!

  10. Thanks for the sensible critique. Me and my neighbor were just preparing to do some research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such great information being shared freely out there.

  11. flat roof says:

    Ive by no means read something like this before. So nice to locate somebody with some original thoughts on this subject, really thank you for beginning this up. this web page is one thing that is necessary on the internet, an individual with a little originality. valuable job for bringing some thing new to the world-wide-web!

  12. You can certainly see your skills in the paintings you write. The sector hopes for more passionate writers like you who are not afraid to mention how they believe. At all times go after your heart.

  13. What i don’t understood is in truth how you’re now not really much more well-favored than you may be now. You’re so intelligent. You realize therefore significantly in relation to this subject, made me in my opinion consider it from a lot of varied angles. Its like women and men are not interested except it is something to do with Woman gaga! Your own stuffs great. Always care for it up!

  14. Faustino says:

    We’re a gaggle of volunteers and starting a brand new scheme in our community. Your website offered us with useful information to work on. You’ve performed an impressive activity and our whole community shall be thankful to you.

Leave a Reply

Your email address will not be published. Required fields are marked *