{{imageDimensions}} helper
Create height/width attributes for a given image. Use it with images from theme options, so the browser can reserve space for the image before it loads. Publii reads the dimensions from the image file during rendering. It is often used with responsiveImageAttributes; see How images work in Publii.
Syntax:
{{imageDimensions IMAGE_PATH}}
Example:
{{imageDimensions @config.custom.imageOptionName}}