PhotoCapabilities.imageWidth

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The imageWidth read-only property of the PhotoCapabilities interface returns a MediaSettingsRange object indicating the image width range supported by the user agent.

Syntax

var mediaSettingsRange = photoCapabilities.imageWidth

Value

A MediaSettingsRange is an object.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
imageWidth
59
≤79
No
No
46
No
59
59
No
43
No
7.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PhotoCapabilities/imageWidth