The ImageCapture Web API allows web developers to manipulate "Non-Live" camera capabilities and settings such as the photo resolution, red eye reduction, and flash mode.
This sample demonstrates the use of setting the image width of the photo.