formalized loading of previous image including range check