Optimize images preloading