loading images on edit, made code more standard