Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Page.setImage

$page.setImage($url) -> self

Description

Set the URL of the Open Graph image that will be shown by social media sites when this page is shared.

The recommended size is 1200x1200. Different sites will resize and crop the image for display.

The URL should be relative to public folder (the document root).

$page.setImage(url'/images/socialImage.png')

See Also