mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2025-09-09 08:07:22 +00:00
Implementation of photo taking feature
This commit is contained in:
@@ -39,13 +39,17 @@
|
||||
<legend>PICTURE:</legend>
|
||||
<select id="select" name="select">
|
||||
<option value="file">File Upload</option>
|
||||
<option value="url">From an URL</option>
|
||||
<option value="photo">Take a Photo</option>
|
||||
</select>
|
||||
<label for="mealImage" id="source">
|
||||
<input type="file" accept="image/*" id="mealImg" name="mealImg">
|
||||
</label>
|
||||
<input type="file" accept="image/*" id="mealImg" name="mealImg">
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<video id="player" width="320" height="240" autoplay hidden></video>
|
||||
<canvas id="photoCanvas" width="320" height="240" hidden></canvas>
|
||||
<button type="button" id="photoButton" hidden>Take Photo</button>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>MEAL NAME:</legend>
|
||||
<label for="Name: "> <input type="text" id="mealName" name="mealName" required> </label>
|
||||
|
Reference in New Issue
Block a user