This howto show you how to center an image.
To center an image there is two possibilities:
With the space syntax, to center an image, you add a space after {{ and before }}.
{{ :docs:block:stock_image_surfer_in_the_see.png?400 |}}
More information on the space syntax can be found in the image position section.
The align attribute permits to align in a various ways your components.
If you want to center your image with the align attribute, you would add it to the reference with the center value.
{{:docs:block:stock_image_surfer_in_the_see.png?400&align=center|}}