waiting to load images before starting anything to make sure resizing happens