fix preloading images for cdn