Skip to content

Ngx meta.opengraphimage

Home > @davidlj95/ngx-meta > OpenGraphImage

OpenGraphImage interface

See OpenGraph.image

Signature:

export interface OpenGraphImage 

Properties

Property Modifiers Type Description
alt? readonly string

(Optional) A description of what is in the image (not a caption). If the page specifies an og:image it should specify og:image:alt.

Can be unset to use image from global metadata

height? readonly number | null (Optional) The number of pixels high.
secureUrl? readonly URL | string | null (Optional) An alternate url to use if the webpage requires HTTPS.
type? readonly string | null (Optional) A MIME type for this image.
url? readonly URL | string

(Optional) An image URL which should represent your object within the graph

Can be unset to use image from global metadata

width? readonly number | null (Optional) The number of pixels wide.