images capture for specified amount of time