Isengo Isengo - 2 months ago 8x
HTML Question

File Upload (restrict to Camera / not Galery)

I´d like to Upload Fotos on my Website, but want to restrict it only for the camera, not the galery.

Reason: I want to use the uploadtime as a timestamp and it should not do that with photos from the galery. Is there any way to accomplish that?


you can use <input type="file" id="take-picture" accept="image/*"capture="camera"> i don't get your second point..? can you rephrase it