Renders an img
tag with the src
URL of the referenced CMS image object.
Props
attribute
(String
) – the name of thereference
orbinary
attribute for the image. Default:blob
content
(Binary
,Obj
,Widget
) – the image resource itself, or a page or widget holding areference
orbinary
attribute for the image.
Remarks
- Other props are rendered as attributes of the resulting
img
tag. - If the type of the
attribute
isreference
, the image reference can be changed by editors.