when reseolved or rejected returns the Image object instead of just the src
created local variable for defaults