Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,160,416 members, 7,843,240 topics. Date: Tuesday, 28 May 2024 at 09:20 PM |
Nairaland Forum / Science/Technology / Programming / How Can I Make Pictures Load After The Content Of The Site Is Loaded (788 Views)
Impact Of Web Design On The Content Marketing Strategies! / Help! My Site On Github Doesn't Load Properly But It's perfect on my Local web. / How Can I Make Payment For Any Udemy Course With My Credit Card? (2) (3) (4)
(1) (Reply)
How Can I Make Pictures Load After The Content Of The Site Is Loaded by CALEB65(m): 5:51pm On Apr 07, 2019 |
Hey guys, I want to make pictures on my site load only after the text and other stuffs finish loading. Please how can I achieve this? |
Re: How Can I Make Pictures Load After The Content Of The Site Is Loaded by CodeTemplar: 6:33pm On Apr 07, 2019 |
https://stackoverflow.com/questions/12396068/speed-up-page-load-by-deferring-images follow that link and you can achieve it with JavaScript. It involves loading a dummy and light image first while maintaining the url of the real image as an attribute, then using a JavaScript code after the body tag to swap out the dummy image and put in the real image URL into the img's src attribute. It involves JavaScript though. |
Re: How Can I Make Pictures Load After The Content Of The Site Is Loaded by CALEB65(m): 1:13pm On Apr 08, 2019 |
Thanks man |
(1) (Reply)
US, UK, Canada Senior Software Developer Jobs / Am Willing To Pay 50k To Anyone Who Can Help Me Get My Pintrest Account Unbloc / R Programming And Statistical Analyses Made Easy In Yoruba
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |