implement function imgActs, not test yet.