Images Loaded Library related posts
How to get both background and non-background images using the imagesLoaded library.
I use the imagesLoaded javascript library to determine when and what images are loaded and to provide a status on a pre-loader status screen. If you need to get both background and non-background images, just run it twice switching the background arguments.