working on image length.