record images/videos using camera