homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Size of photos

5+ Year Member

Msg#: 3684876 posted 5:52 am on Jun 27, 2008 (gmt 0)

Hello, I am very new to making webpages. On my site, I have one page with four pictures. When I click on a picture on the page, and click Properties, it says that the picture is 150 KB for example. The page was taking a long time to download too (although our internet is currently slowed down; that might be why). So I saved the page to my desktop and looked at the properties of the page. It said something like 4.42 KB and 8 KB on disk. Also when I looked at the size of that file in my server's file manager, it also said it was around 4 KB. How is this possible? My question: when someone views my page, are they having to download hundreds of KB for those photos, or are they just downloading the 4.42 KB?

Thank you so much!




WebmasterWorld Senior Member 10+ Year Member

Msg#: 3684876 posted 7:33 am on Jun 27, 2008 (gmt 0)

You were looking at the HTML document, the image files are separate than the HTML document. HTML is just text which requires very little disc space.

Create a new folder on your computer and copy an image to it, open up notepad and place the following text. Be sure to replace the filemane for the image with your own.


<title>My Test Page</title>

<img src="your_images_filename.jpg">


Save this to the same folder that you image is as test.html , make sure you don't save it with the default extension .txt If you examine this file through My Computer you'll see its quite small in file size. If you open it in your browser the image will display.

The bulk of the download will be the image file...

The best way to reduce the file size is to optimize the image. You can use just about any decent image application to optimize images like jpg's.

When you go to save it there will generally be a sliding scale that allows you to set the "quality" or amount of compression. Setting this higher or lower will create larger or smaller file sizes. Using lower settings for smaller file sizes also reduces the quality of the image. Some applications will even have a defualt "save for web" option that has defaults that generally work well for most images.


5+ Year Member

Msg#: 3684876 posted 3:01 pm on Jun 27, 2008 (gmt 0)

Thank you so much for your answer. I appreciate your taking the time to write this out. I guess that I did not realize in the past that there was more to the download than just the size of the webpage itself. Thank you.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved