impl simple image preloading