473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to force browser load images last thing?

mardash
10
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.
Apr 11 '12 #1
5 2942
Rabbit
12,516 Expert Mod 8TB
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?
Apr 11 '12 #2
mardash
10
image make web load slower .. i need text load first ..
Apr 11 '12 #3
Rabbit
12,516 Expert Mod 8TB
Just because you delay it to the end doesn't mean it's any faster.
Apr 11 '12 #4
Dormilich
8,658 Expert Mod 8TB
make a different (sub)domain for the images, so they could be loaded parallel to the text. though text is usually loading nearly instantly.
Apr 12 '12 #5
johny10151981
1,059 1GB
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
Apr 12 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Martin | last post by:
This is probably more of an HTML question than PHP. Perhaps someone here can answer or point me to a proper newsgroup. How can I force the browser to reload an image from the server? I have a...
3
by: BlackSabbath | last post by:
Hi, all I try to explain (with my #@^^~ english..., sorry...) : I have a page e.g. Product125.htm I would that, if a guy call http:\\www.MySite.htm\Products\product125.htm to force the...
2
by: Charles Eubanks | last post by:
The enclosed html snippet displays an area map. The behavior I want is for each area to show up (eg show the outline of the poly) when the user mouses over it. This happens nicely BUT in order...
5
by: Selden McCabe | last post by:
I have a page that displays a picture. In the page load I figure out which image and then do a StudentPicutre.imageurl = <some file name> But if you use the browser's back button, enter...
2
by: dean.h.brown | last post by:
I'd like to create a slideshow using the same technology that Google Maps uses: Load/unload images offscreen and the user can drag the images around. Dragging the images is easy...
4
by: Aquosus | last post by:
I would like to know how to load images from a file using JavaScript. path = = root/images/kitchens/web all files are jpeg I would like to be able to loop through the file and capture all...
2
elamberdor
by: elamberdor | last post by:
Hi All! Well, i'm modifying a dynamic map, with lat and long datapoints, my problem is it loads in text perfectly onto exact points I specify on the map, ..well now I want to load in...
0
by: Piotrekk | last post by:
Hi How do i load all images from Resource.resx to Imagelist? I know how to assign images to buttons in code ( App.Properties.Resources.imagename ), but I need to load all images and search them...
7
by: Andrus | last post by:
I have UserControls in MDI child forms containing TextBoxes and other controls. When user re-activates form, I need that Control which was last activated is activated again. Currently *first*...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.