Render an image with alternative source for vertical display (e.g. mobile device in a portrait mode)
Name
|
Type
|
Default
|
Description
|
|---|---|---|---|
src | String | -- | Image source URL |
srcset | String | -- | Image source set URLs |
src-vt | String | -- | Alternative image source for vertical displays |
srcset-vt | String | -- | Alternative image source set for vertical displays |
alt | String | -- | Image description |
lazy-load | Boolean | true | Enable intersection observer to load the image when in viewport |
rotate | Number | -- | Rotate image in degrees with CSS transform |
Resize the window into a portrait mode