add webcam support

This commit is contained in:
Georg Fischer
2014-12-14 18:12:48 +01:00
parent 5922e2bea0
commit 57775a7134
6 changed files with 168 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@
<div class="nav-wrapper dark-bg">
<div class="export-wrapper center">
<h1 class="headline">glitch images</h1>
<button id="cam-button" class="button" title="take photo with you web cam">take photo</button>
<button id="import-button" class="button" title="open image from your computer">open image</button>
<input type="file" id="import-input" accept="image/*" />
<button id="export-button" class="button" title="save image to your computer">download image</button>