Add image preloading.