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