add image loaded feature