How to force browser load images last thing?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mardash
    New Member
    • Mar 2012
    • 10

    How to force browser load images last thing?

    I asked if I can make all images of my web "img objects"
    load last thing?

    I want the webpage to load the text first and then start to load the images.
    Last edited by Frinavale; Apr 11 '12, 04:41 PM. Reason: Removed all caps. Please do not yell (use all caps). Yelling will not get you help any faster.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    I suppose you could use javascript to put in all the image sources in the On Load event but why would you want to do that?

    Comment

    • mardash
      New Member
      • Mar 2012
      • 10

      #3
      image make web load slower .. i need text load first ..

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        Just because you delay it to the end doesn't mean it's any faster.

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          make a different (sub)domain for the images, so they could be loaded parallel to the text. though text is usually loading nearly instantly.

          Comment

          • johny10151981
            Top Contributor
            • Jan 2010
            • 1059

            #6
            I have read a tutorial long time ago in my Mastering in Javascript book about this.

            as Rabbit says
            you can create a javascript array of image path. at the beginning you can set all image path with a light weight small picture and then in a delay you can assign the string path to the image source one by one

            Comment

            Working...