HTML
<img>
element
将图像嵌入文档。
The above example shows usage of the
<img>
元素:
src
属性为
required
, and contains the path to the image you want to embed.
alt
attribute holds a text description of the image, which isn't mandatory but is
incredibly useful
for accessibility — screen readers read this description out to their users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason: for example, network errors, content blocking, or linkrot.
There are many other attributes to achieve various purposes:
crossorigin
and
referrerpolicy
.
width
and
height
to set the intrinsic size of the image, allowing it to take up space before it loads, to mitigate content layout shifts.
sizes
and
srcset
(see also the
<picture>
element and our
Responsive images
tutorial).
The HTML standard doesn't list what image formats to support, so each 用户代理 supports different formats. Below is a list of the image formats that are most commonly used on the web.
The image file formats that are most commonly used on the web are listed below.
| Abbreviation | 文件格式 | MIME 类型 | File extension(s) | 摘要 |
|---|---|---|---|---|
| APNG | Animated Portable Network Graphics |
image/apng
|
.apng
|
Good choice for lossless animation sequences (GIF is less performant).
AVIF
and
WebP
have better performance but less broad browser support.
支持 : Chrome, Edge, Firefox, Opera, Safari. |
| AVIF | AV1 Image File Format |
image/avif
|
.avif
|
Good choice for both images and animated images due to high performance and royalty free image format. It offers much better compression than
PNG
or
JPEG
with support for higher color depths, animated frames, transparency etc. Note that when using AVIF, you should include fallbacks to formats with better browser support (i.e. using the
<picture>
element).
Supported: Chrome, Opera, Firefox (behind a pref). |
| GIF | GIF (图形互换格式) |
image/gif
|
.gif
|
Good choice for simple images and animations. Prefer
PNG
for lossless
and
indexed still images, and consider
WebP
,
AVIF
or
APNG
for animation sequences.
Supported: Chrome, Edge, Firefox, IE, Opera, Safari. |
| JPEG | Joint Photographic Expert Group image |
image/jpeg
|
.jpg
,
.jpeg
,
.jfif
,
.pjpeg
,
.pjp
|
Good choice for lossy compression of still images (currently the most popular). Prefer
PNG
when more precise reproduction of the image is required, or
WebP
/
AVIF
if both better reproduction and higher compression are required.
Support: Chrome, Edge, Firefox, IE, Opera, Safari. |
| PNG | PNG (便携式网络图形) |
image/png
|
.png
|
PNG is preferred over JPEG for more precise reproduction of source images, or when transparency is needed.
WebP
/
AVIF
provide even better compression and reproduction, but browser support is more limited.
Support: Chrome, Edge, Firefox, IE, Opera, Safari. |
| SVG | SVG (可伸缩向量图形) |
image/svg+xml
|
.svg
|
Vector image format; ideal for user interface elements, icons, diagrams, etc., that must be drawn accurately at different sizes.
Support: Chrome, Edge, Firefox, IE, Opera, Safari. |
| WebP | Web Picture format |
image/webp
|
.webp
|
Excellent choice for both images and animated images. WebP offers much better compression than
PNG
or
JPEG
with support for higher color depths, animated frames, transparency etc.
AVIF
offers slightly better compression, but is not quite as well-supported in browsers and does not support progressive rendering.
Support: Chrome, Edge, Firefox, Opera, Safari |
注意: The older formats like PNG, JPEG, GIF have poor performance compared to newer formats like WebP and AVIF, but enjoy broader "historical" browser support. The newer image formats are seeing increasing popularity as browers without support become increasingly irrelevant (i.e. have virually zero market share).
The following list includes image formats that appear on the web, but which should be avoided for web content (generally this is because either they do not have wide browser support, or because there are better alternatives).
| Abbreviation | 文件格式 | MIME 类型 | File extension(s) | 描述 |
|---|---|---|---|---|
| BMP | Bitmap file |
image/bmp
|
.bmp
|
Chrome, Edge, Firefox, IE, Opera, Safari |
| ICO | Microsoft Icon |
image/x-icon
|
.ico
,
.cur
|
Chrome, Edge, Firefox, IE, Opera, Safari |
| TIFF | TIFF (标签化图像文件格式) |
image/tiff
|
.tif
,
.tiff
|
Safari |
注意: The abbreviation for each image format links to a longer description of the format, its capabilities, and detailed browser compatibility information (including which versions introduced support and specific special features that may have been introduced later).
注意: 见 Image file type and format guide for more comprehensive information about image formats supported by web browsers. This includes image formats that are supported but not recommended for web content (e.g. ICO, BMP, etc.)
If an error occurs while loading or rendering an image, and an
onerror
event handler has been set on the
error
event, that event handler will get called. This can happen in a number of situations, including:
src
attribute is empty (
""
) 或
null
.
src
URL
is the same as the URL of the page the user is currently on.
<img>
element's attributes.
此元素包括 全局属性 .
alt
注意: Browsers do not always display images. There are a number of situations in which a browser might not display images, such as:
In these cases, the browser may replace the image with the text in the element's
alt
attribute. For these reasons and others, provide a useful value for
alt
每当可能时。
Omitting
alt
altogether indicates that the image is a key part of the content and no textual equivalent is available. Setting this attribute to an empty string (
) indicates that this image is
not
a key part of the content (it’s decoration or a tracking pixel), and that non-visual browsers may omit it from
rendering
. Visual browsers will also hide the broken image icon if the
alt
is empty and the image failed to display.
This attribute is also used when copying and pasting the image to text, or saving a linked image to a bookmark.
crossorigin
Indicates if the fetching of the image must be done using a
CORS
request. Image data from a
CORS-enabled image
returned from a CORS request can be reused in the
<canvas>
element without being marked "
tainted
".
若
crossorigin
属性为
not
specified, then a non-CORS request is sent (without the
Origin
request header), and the browser marks the image as tainted and restricts access to its image data, preventing its usage in
<canvas>
元素。
若
crossorigin
属性
is
specified, then a CORS request is sent (with the
Origin
request header); but if the server does not opt into allowing cross-origin access to the image data by the origin site (by not sending any
Access-Control-Allow-Origin
response header, or by not including the site's origin in any
Access-Control-Allow-Origin
response header it does send), then the browser marks the image as tainted and restricts access to its image data, preventing its usage in
<canvas>
元素。
Allowed values:
anonymous
Authorization
request header).
use-credentials
Authorization
request header). If the server does not opt into sharing credentials with the origin site (by sending back the
Access-Control-Allow-Credentials: true
response header), then the browser marks the image as tainted and restricts access to its image data.
If the attribute has an invalid value, browsers handle it as if the
anonymous
value was used. See
CORS 设置属性
for additional information.
decoding
Provides an image decoding hint to the browser. Allowed values:
sync
Decode the image synchronously, for atomic presentation with other content.
async
Decode the image asynchronously, to reduce delay in presenting other content.
auto
Default: no preference for the decoding mode. The browser decides what is best for the user.
height
The intrinsic height of the image, in pixels. Must be an integer without a unit.
intrinsicsize
naturalWidth
/
naturalHeight
on images would return the values specified in this attribute.
Explainer
,
examples
ismap
注意:
This attribute is allowed only if the
<img>
element is a descendant of an
<a>
element with a valid
href
attribute. This gives users without pointing devices a fallback destination.
loading
eager
: Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value).
lazy
: Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases.
注意:
Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when.
referrerpolicy
no-referrer
:
Referer
header will not be sent.
no-referrer-when-downgrade
: No
Referer
header is sent when navigating to an origin without
HTTPS
. This is the default if no policy is otherwise specified.
origin
:
Referer
header will include the page's origin (
scheme
,
host
,和
port
).
origin-when-cross-origin
: Navigating to other origins will limit the included referral data to the scheme, host, and port, while navigating from the same origin will include the full path and query string.
unsafe-url
:
Referer
header will always include the origin, path and query string, but not the fragment, password, or username.
This is unsafe
because it can leak information from TLS-protected resources to insecure origins.
sizes
Media Conditions describe properties of the
viewport
, not of the
image
。例如,
(max-height: 500px) 1000px
proposes to use a source of 1000px width, if the
viewport
is not higher than 500px.
Source size values specify the intended display size of the image.
User agents
use the current source size to select one of the sources supplied by the
srcset
attribute, when those sources are described using width (
w
) descriptors. The selected source size affects the
intrinsic size
of the image (the image’s display size if no
CSS
styling is applied). If the
srcset
attribute is absent, or contains no values with a width descriptor, then the
sizes
attribute has no effect.
src
<img>
element. On
浏览器
supporting
srcset
,
src
is treated like a candidate image with a pixel density descriptor
1x
, unless an image with this pixel density descriptor is already defined in
srcset
, or unless
srcset
包含
w
descriptors.
srcset
w
). The width descriptor is divided by the source size given in the
sizes
attribute to calculate the effective pixel density.
x
).
If no descriptor is specified, the source is assigned the default descriptor of
1x
.
It is incorrect to mix width descriptors and pixel density descriptors in the same
srcset
attribute. Duplicate descriptors (for instance, two sources in the same
srcset
which are both described with
2x
) are also invalid.
The user agent selects any of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our Responsive images tutorial for an example.
width
The intrinsic width of the image in pixels. Must be an integer without a unit.
usemap
#
) of an
图像映射
associated with the element.
注意:
You cannot use this attribute if the
<img>
element is inside an
<a>
or
<button>
元素。
align
float
and/or
vertical-align
CSS
properties instead of this attribute. Allowed values:
top
vertical-align: top
or
vertical-align: text-top
middle
vertical-align: -moz-middle-with-baseline
bottom
vertical-align: unset
or
vertical-align: initial
left
float: left
right
float: right
border
border
CSS
特性代替。
hspace
margin
CSS property instead.
longdesc
id
.
注意:
This attribute is mentioned in the latest
W3C
version,
HTML 5.2
, but has been removed from the
WHATWG
’s
HTML 实时标准
. It has an uncertain future; authors should use a
WAI
-
ARIA
alternative such as
aria-describedby
or
aria-details
.
名称
id
attribute instead.
vspace
margin
CSS property instead.
<img>
是
replaced element
; it has a
display
value of
inline
by default, but its default dimensions are defined by the embedded image's intrinsic values, like it were
inline-block
. You can set properties like
border
/
border-radius
,
padding
/
margin
,
width
,
height
, etc. on an image.
<img>
has no baseline, so when images are used in an inline formatting context with
vertical-align
: baseline
, the bottom of the image will be placed on the text baseline.
可以使用
object-position
property to position the image within the element's box, and the
object-fit
property to adjust the sizing of the image within the box (for example, whether the image should fit the box or fill it even if clipping is required).
Depending on its type, an image may have an intrinsic width and height. For some image types, however, intrinsic dimensions are unnecessary.
SVG
images, for instance, have no intrinsic dimensions if their root
<svg>
element doesn't have a
width
or
height
set on it.
The following example embeds an image into the page and includes alternative text for accessibility.
<img src="https://developer.mozilla.org/static/img/favicon144.png"
alt="MDN logo">
This example builds upon the previous one, showing how to turn the image into a link. To do so, nest the
<img>
tag inside the
<a>
. You should made the alternative text describe the resource the link is pointing to, as if you were using a text link instead.
<a href="https://developer.mozilla.org">
<img src="https://developer.mozilla.org/static/img/favicon144.png"
alt="Visit the MDN site">
</a>
In this example we include a
srcset
attribute with a reference to a high-resolution version of the logo; this will be loaded instead of the
src
image on high-resolution devices. The image referenced in the
src
attribute is counted as a
1x
candidate in
user agents
that support
srcset
.
<img src="https://developer.mozilla.org/static/img/favicon72.png"
alt="MDN logo"
srcset="https://developer.mozilla.org/static/img/favicon144.png 2x">
src
attribute is ignored in
user agents
that support
srcset
当
w
descriptors are included. When the
(max-width: 600px)
media condition matches, the 200 pixel-wide image will load (it is the one that matches
200px
most closely), otherwise the other image will load.
<img src="/files/16864/clock-demo-200px.png"
alt="Clock"
srcset="/files/16864/clock-demo-200px.png 200w,
/files/16797/clock-demo-400px.png 400w"
sizes="(max-width: 600px) 200px, 50vw">
To see the resizing in action, view the example on a separate page , so you can actually resize the content area.
尽管
<img>
elements have innocent uses, they can have undesirable consequences for user security and privacy. See
Referer header: privacy and security concerns
for more information and mitigations.
An
alt
attribute's value should clearly and concisely describe the image's content. It should not describe the presence of the image itself or the file name of the image. If the
alt
attribute is purposefully left off because the image has no textual equivalent, consider alternate methods to present what the image is trying to communicate.
<img alt="image" src="penguin.jpg">
<img alt="A Rockhopper Penguin standing on a beach." src="penguin.jpg">
当
alt
attribute is not present on an image, some screen readers may announce the image's file name instead. This can be a confusing experience if the file name isn't representative of the image's contents.
title
attribute is not an acceptable substitute for the
alt
attribute. Additionally, avoid duplicating the
alt
attribute's value in a
title
attribute declared on the same image. Doing so may cause some screen readers to announce the description twice, creating a confusing experience.
title
attribute should also not be used as supplemental captioning information to accompany an image's
alt
description. If an image needs a caption, use the
figure
and
figcaption
元素。
值对于
title
attribute is usually presented to the user as a tooltip, which appears shortly after the cursor stops moving over the image. While this
can
provide additional information to the user, you should not assume that the user will ever see it: the user may only have keyboard or touchscreen. If you have information that's particularly important or valuable for the user, present it inline using one of the methods mentioned above instead of using
title
.
| 内容类别 |
流内容
,
措词内容
,
embedded content
,
palpable content
. If the element has a
usemap
attribute, it also is a part of the interactive content category.
|
|---|---|
| 准许内容 | None, it is an empty element . |
| Tag omission | Must have a start tag and must not have an end tag. |
| Permitted parents | Any element that accepts embedded content. |
| Implicit ARIA role |
|
| Permitted ARIA roles |
|
| DOM 接口 |
HTMLImageElement
|
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
img
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
align
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
alt
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
Aspect ratio computed from
width
and
height
属性
|
Chrome 完整支持 79 | Edge 完整支持 79 |
Firefox
完整支持
71
|
IE 不支持 No | Opera 完整支持 66 | Safari 完整支持 14 | WebView Android 完整支持 79 | Chrome Android 完整支持 79 | Firefox Android 完整支持 79 | Opera Android 完整支持 57 | Safari iOS 完整支持 14 | Samsung Internet Android 完整支持 12.0 |
border
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
crossorigin
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
decoding
|
Chrome 完整支持 Yes | Edge 完整支持 ≤79 | Firefox 完整支持 63 | IE 不支持 No | Opera 完整支持 Yes | Safari 完整支持 11.1 | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 63 | Opera Android 完整支持 Yes | Safari iOS 完整支持 11.3 | Samsung Internet Android 完整支持 Yes |
height
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
hspace
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
intrinsicsize
弃用
非标
|
Chrome
不支持
71 — 78
Disabled
|
Edge 不支持 No | Firefox 不支持 No | IE 不支持 No |
Opera
不支持
58 — 65
Disabled
|
Safari 不支持 No | WebView Android 不支持 No |
Chrome Android
不支持
71 — 78
Disabled
|
Firefox Android 不支持 No |
Opera Android
不支持
50 — 56
Disabled
|
Safari iOS 不支持 No | Samsung Internet Android 不支持 No |
ismap
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
loading
实验性
|
Chrome 完整支持 76 | Edge 完整支持 79 | Firefox 完整支持 75 | IE 不支持 No | Opera 完整支持 63 |
Safari
不支持
No
注意事项
|
WebView Android 不支持 No | Chrome Android 完整支持 76 |
Firefox Android
不支持
No
注意事项
|
Opera Android 完整支持 54 |
Safari iOS
不支持
No
注意事项
|
Samsung Internet Android 不支持 No |
longdesc
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
名称
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
onerror
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 ≤79 | Firefox 完整支持 51 | IE ? | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 51 | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
referrerpolicy
|
Chrome 完整支持 51 | Edge 完整支持 79 | Firefox 完整支持 50 | IE 不支持 No | Opera 完整支持 38 | Safari 完整支持 11.1 | WebView Android 完整支持 51 | Chrome Android 完整支持 51 | Firefox Android 完整支持 50 | Opera Android 完整支持 41 | Safari iOS 不支持 No | Samsung Internet Android 完整支持 7.2 |
sizes
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
src
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
srcset
|
Chrome 完整支持 34 | Edge 完整支持 ≤18 |
Firefox
完整支持
38
|
IE 不支持 No | Opera 完整支持 21 | Safari 完整支持 8 | WebView Android 完整支持 37 | Chrome Android 完整支持 34 |
Firefox Android
完整支持
38
|
Opera Android 完整支持 21 | Safari iOS 完整支持 8 | Samsung Internet Android 完整支持 2.0 |
usemap
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
vspace
弃用
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
width
|
Chrome 完整支持 Yes | Edge 完整支持 12 | Firefox 完整支持 Yes | IE 完整支持 Yes | Opera 完整支持 Yes | Safari 完整支持 Yes | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 Yes | Opera Android 完整支持 Yes | Safari iOS 完整支持 Yes | Samsung Internet Android 完整支持 Yes |
完整支持
不支持
兼容性未知
实验。期望将来行为有所改变。
非标。预期跨浏览器支持较差。
弃用。不要用于新网站。
见实现注意事项。
用户必须明确启用此特征。
<picture>
,
<object>
and
<embed>
元素
object-fit
,
object-position
,
image-orientation
,
image-rendering
,和
image-resolution
.
<img>