Images are source files, such as photographs, diagrams, and screenshots, that are stored in an images family directory. An image can be inserted into any page or partial, regardless of the module or component version it belongs to, using an AsciiDoc image macro. AsciiDoc supports PNG, JPG, SVG, and GIF (static and animated) image file formats.
There are two AsciiDoc image macro types, block and inline. A block image is displayed as a discrete element on a page.
This is a paragraph. image::resource-id-of-target-image.ext
An inline image is displayed in the flow of another element, such as a paragraph or sidebar block.
This sentence contains an inline image:resource-id-of-target-image.ext image.
xref element attribute, you can reference a page, attachment, element, or even another image from an image embedded in a page.
See Resource Links From Images to learn more.