if first image not selected, exit
images were loaded in the wrong order previously