close

Privacy guaranteed - Your email is not shared with anyone.

Logic is Defied...need help from bigger brains

Discussion in 'Tech Talk' started by unit 900, May 1, 2010.

  1. unit 900

    unit 900

    725
    63
    Sep 3, 2000
    Baltimore, Md
    I spent several satisfying minutes looking at the excellent WWII pics that were recommended in GNG ... http://blogs.denverpost.com/captured/2010/03/18/captured-blog-the-pacific-and-adjacent-theaters/
    I liked the pics so much, I saved the 'page' as an HTM file. The size of the entire file is about 130kb according to its properties. All the pics are included. Each picture (there are dozens) is a .jpg of about 120 kb. I'm sure I'm missing something obvious, and at the risk of appearing semi moronic, how can a 130 kb file contain dozens of .jpgs, each of approximately the same size? If I save it as a complete web page, it jumps to 17mb. The only difference appears to be that the .jpgs are each saved separately, but the size remains the same. My head hurts, any explanation is appreciated.
     
  2. prism

    prism more ammo

    1,439
    23
    Sep 26, 2002
    Indiana
    the "html save" may have links to the distant pictures.

    view the "html save", then try viewing the properties of one of the pictures.
     

  3. JimmyN

    JimmyN

    1,266
    7
    Sep 29, 2006
    Virginia
    I'll vouch for what prism said.

    When you save it as an .html file it makes sure that all links contain the full path. So when you view the html locally the browser is running the script from your drive, but it is still fetching all the pictures, javascript, and .css files from the denverpost.com server.
    Advantage: You only use a small amount of disk space.
    Disadvantage: Viewing will be slower as you're still retrieving everything from their server.

    When you save it as a complete web page it creates a subfolder by the same name, which will contain all the images, javascript, etc. And in the html file all the links will be changed to point to that local folder.
    Advantage: Much faster viewing since everything is on your drive.
    Disadvantage: Uses a lot more disk space.
     
  4. unit 900

    unit 900

    725
    63
    Sep 3, 2000
    Baltimore, Md
    Thanks for the clarification. My head no longer hurts.
     
  5. stooxie

    stooxie NRA Life Member

    1,069
    0
    Apr 10, 2005
    Northern Virginia
    Firefox (just an example) has a pulldown menu in the Save dialog that gives you the option of saving just the HTML or all the associated files (jpegs, gifs, etc).

    -Stooxie