We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,294 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Prioritize Image Downloads

Hi,

I'm trying to somehow download all pictures on a website FIRST before anything else happens... the problem I'm experiencing is that when a user comes to the site - none of the images are loading, sometimes they show, sometimes they don't... I believe that if the client downloads all the images prior to anything else then it will force the browser to see the images... or am I wrong?

Thanks,
Ashton.

2
Contributors
1
Reply
1 Week
Discussion Span
2 Years Ago
Last Updated
2
Views
AshtonHogan
Posting Whiz in Training
210 posts since Jul 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

There is no way to alter the way a browser renders a page. You can however use a tool like Firebug and try to find out why the images aren't loading.
If the images aren't loading it's likely that there is something wrong. Firebug will let you see the HTTP requests to see which ones are failing along with the error code (if any).
Something I find handy for finding errors is running

tail -f /path/to/error_log

on your error log, then making a request and you'll be able to see the errors as they come in.

samarudge
Posting Whiz
359 posts since May 2008
Reputation Points: 26
Solved Threads: 31
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0544 seconds using 2.66MB