Changing image action.