Questions tagged [preloading]

Use preloading for questions related to programmatically requesting files or data using a heurestic or presumptive algorithm.

Preloading can be used to optimize the user experience based on events, hints, metadata, or user behavior analysis.

References

273 questions
0
votes
1 answer

Loading script before all images have been preloaded

I'm creating a gallery of images with a thumbnail strip below. I would like to preload these images so that when the user clicks a thumbnail, the image immediately appears. There are quite a few photos though, so I don't want to wait until all…
0
votes
1 answer

Preload images in jquery/canvas "Uncaught TypeError: Type error"

I want to pre-load a directory of images into my canvas so that they are ready to be displayed when I need them. I found this question on stackoverflow and the accepted answer was extremely helpful. Their function iterates through an array of image…
Partack
  • 886
  • 11
  • 24
0
votes
3 answers

GWT - PreloadedImage fails in IExplore

answer at bottom of the post I've created a website that displays a numbers of images and draws them on a canvas. Those images are PreloadedImage instances, and fire the draw method on their load event. This works fine in Chrome but in Internet…
0
votes
0 answers

preloading images gives maximum call stack size exceeded but only on android

I have a html5 app which loads some data at startup and after all has been loaded, the user can browse this data. Associated with each data object is an image, a png file. This shall work well on mobile devices with limited bandwidth. When the user…
Vilhelm H.
  • 1,315
  • 1
  • 7
  • 15
0
votes
1 answer

With KnockoutJS, how can I display a temporary picture while an observable picture is being loaded?

Imagine you have the following "light" object representing a book: var BookModel = function(data) { var self = this; self.id = ko.observable(data.id); self.title = ko.observable(data.title); self.pages =…
Jalayn
  • 8,934
  • 5
  • 34
  • 51
0
votes
3 answers

jQuery - event handling for image preloading

Working on an HTML5/CSS3 project that requires some mildly large (~100k) sprite maps to be loaded and placed onto a . The placement is no problem, but I'm running into the problem of accidentally place the images before they're loaded,…
CodeMoose
  • 2,964
  • 4
  • 31
  • 56
0
votes
1 answer

call preloader(gif , loading image) while my php file parse and download data

this is my php file which is downloading image and data file from server
unkown
  • 1,100
  • 5
  • 18
  • 39
0
votes
1 answer

Window.load function freezes my page with preloader gif

I am using the window.load jquery function to preload my home page with a gif image. Now problem is, that the page freezes/time-out after a while, since all the content has not loaded, and only the gif animation is displayed. However, when…
DextrousDave
  • 6,603
  • 35
  • 91
  • 134
0
votes
2 answers

flash as3 & html5 - preloader when movieclip embedded in timeline

I have a movie which is embedded in my flash timeline so that I can scroll through it frame by frame using a scrollbar class I created. However, because the movie is about 10mb, I need to have some sort of preloader, either in HTML5 or in flash, to…
mheavers
  • 29,530
  • 58
  • 194
  • 315
0
votes
1 answer

Blurry Images? No Blurry Images on Chrome, only on IE/FF... Why?

I have been working on a website, and I've used pictures of texts extensively for the style and looks that i wanted not native to html/css. So as you can see... it's very easy to detect if the text in the image gets blurry any one bit. Everything…
Charles
  • 450
  • 1
  • 4
  • 20
0
votes
2 answers

Do browsers pre-load images in the CSS file, regardless of use on page?

A friend of mine threw a website I made through the tool at http://analyze.websiteoptimization.com/ . When he came back to me, he insisted that my browser was preloading tons of unrelated images on only the homepage of the site. I came back to him,…
SoreThumb
  • 530
  • 1
  • 5
  • 17
0
votes
1 answer

Need way to preload background images

i need a way to preload background images, either by vanilla JS or jQuery. I am using pure CSS3 bg gallery, which is an ordinary ul, and each li represents full bg image. There are no img tags, each li uses css background-image property. I have four…
fluxus
  • 559
  • 5
  • 15
  • 29
0
votes
2 answers

as3 preloading for distribution

So the easiest way to preload in as3 would be to use an external .swf to load the main .swf. Since I will be distributing my game around the internet I can only use one .swf. What would be the best way to do this? Can I still use the external method…
David
  • 253
  • 2
  • 4
  • 12
0
votes
2 answers

Array Contents Through a Loop?

I'm trying to preload all of the images in an image gallery and found a nice, simple piece of code that does that (first code sample). I want to try and make the gallery as dynamic as possible. Is there a way of looping through all of the images in…
user1563944
  • 403
  • 7
  • 18
0
votes
1 answer

Preloading images in an array (and waiting until they have downloaded)

So I came across another problem. When I started redoing the webpage I am working on , I came across an idea - Why not have the page preload the materials, and while it's doing just that, show a loading screen? Well, I made a function for that, but…
Ivan Kay
  • 15
  • 1
  • 2
  • 6
1 2 3
18
19