only preload necessary images