Camera (photo)
capture opens the camera directly: environment uses the rear camera, user the front one.
The same file input behaves differently depending on its accept, capture and multiple attributes. Every form below posts to the same /media/upload endpoint.
capture opens the camera directly: environment uses the rear camera, user the front one.
Without capture the browser opens the system picker. multiple selects several images at once.
Without capture, Android and iOS let the user choose between taking a photo or picking from the gallery.
capture="environment" records directly; without it the user can record or pick an existing video.