page_image
An image to be shown in search engine listings and social media previews for the current page.
Featured images will be used for product and collection pages, and blog posts. For all other pages, or pages without a featured image, the social share image will be used, or the store logo if no social share image is available.
Example
Specify the image that is displayed when the site is shared on social media
Create different Open Graph og:image meta tags for different pages, and specify a certain image to show a site page thumbnail when the site is shared on social media.
{{#if page_image.src}}
<meta property="og:image" content="{{page_image.src}}" />
<meta property="og:image:secure_url" content="{{page_image.src}}" />
<meta property="og:image:width" content="{{page_image.width}}" />
<meta property="og:image:height" content="{{page_image.height}}" />
{{/if}}
Was this article helpful to you?