Table of Contents

Deprecated - Page Images Metadata

Replacement

The images metadata has been replaced by:

Why?

The first idea was to be able to upload a bunch of images with different ratios and to choose the best but it's not following the kiss principle. The development direction is to upload one image and to be able to transform it as wanted.

Old documentation

image is a page metadata that defines an illustrative image for the page.

Usage

Page Image

The image can be rendered with the page-image component in:

Example for this page:

<page-image width="300px"/>

Stock Image Surfer In The See

Social

The image is added into social cards such as twitter, google or facebook.

How to set the images from the page ?

The recommended images are:

Metadata Manager

You can set the path of your image in the metadata manager.

Page Image Metadata Manager

You can't upload from the metadata manager

Note that you can't upload the images with the metadata manager for now, therefore:

Frontmatter example:

{
    "image": ":photos:1x1:photo.jpg"
}
{
    "image": [
         ":photos:1x1:photo.jpg",
         ":photos:4x3:photo.jpg",
         ":photos:16x9:photo.jpg"
    ]
}

Moving image path with the move plugin will update their path.