Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Initial image very slow to load. Help appreciated.

    After tidying up my website I notice that the initial picture of my house (23moss.jpg)takes a long time to download. It used not to be so slow.
    I have been messing about trying to improve it but o no avail.
    If anyone has an accelerant, I would appreciate some help.

    Many thanks in advance for yor expertise.

    Frank
    Last edited by effpeetee; 02-18-2011 at 02:18 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #2
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    The problem is that the image is a 1.7 MB png file. For photographs and other images with a large amount of variation you are better to use jpgs.

    It's a photo, so the original must have already been a jpg. Do you have the original? If so, resize it to the dimensions you want and the physical size on the drive (for that photo at that size) will be around 40-70 KB, I think. If not, less.
    Regards, Stooshie
    O

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    This is the picture loaded directly.
    It loads much faster. It is more than just its byte size.
    At 85yrs old with poor eyesight, I probably have a coding error on my part,

    Edit: I have reduced its' bytesize as well. It seems reasonable now.

    Any reports of its download performance - welcome.

    Frank.
    Last edited by effpeetee; 02-18-2011 at 03:43 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #4
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,224
    Thanks
    10
    Thanked 269 Times in 268 Posts
    As stooshie says, a photograph is best presented as a jpeg file, not a png. I took your png and saved is as a quality 8 (quite good, no discernible difference) jpeg and it reduced from 675 kb down to 164kb. On my broadband connection, that's a difference from 2.6 seconds to download your png to about 0.6 seconds.

    I've attached the jpeg file here.

    Dave
    Attached Thumbnails Attached Thumbnails Initial image very slow to load. Help appreciated.-23moss.jpg  

  • #5
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by tracknut View Post
    As stooshie says, a photograph is best presented as a jpeg file, not a png. I took your png and saved is as a quality 8 (quite good, no discernible difference) jpeg and it reduced from 675 kb down to 164kb. On my broadband connection, that's a difference from 2.6 seconds to download your png to about 0.6 seconds.

    I've attached the jpeg file here.

    Dave
    Thanks to all.

    I have followed your advice and I am happy with the result.

    Frank
    I had the picture in several different formats. No wonder I was getting flummoxed.
    Last edited by effpeetee; 02-18-2011 at 05:16 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #6
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts

    Image

    Glad we could help. Additionally, the reason that the image was loading faster when you directly linked to it is probably because it was cached in your browser's memory.

    Anyway, I hope I'm still doing websites at 85 :-). Keep up the good work!
    Regards, Stooshie
    O

  • #7
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Additionally, the reason that the image was loading faster when you directly linked to it is probably because it was cached in your browser's memory
    NO! I always clear the cache when comparing download times. I learrned that one a long time ago.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •