To allow camera access on an iPhone, go to Settings > Privacy & Security > Camera and toggle the switch for the specific app (website browser) to the "on" (green) position. If the app is not in that list, find the app directly in the main Settings menu, tap on it, and enable the Camera option there.
If the camera does not seem to be allowing you to take your photo, try the following steps (iPhone specifically):