Skip to content

Ngx meta.globalmetadataimage

Home > @davidlj95/ngx-meta > GlobalMetadataImage

GlobalMetadataImage interface

Specifies image metadata (will be used for link previews / social cards) to be used for more than one module. Like:

Open Graph allows for more attributes for the image. Specify OpenGraph.image if you want to customize those too.

Signature:

export interface GlobalMetadataImage 

Properties

Property Modifiers Type Description
alt readonly string

A description of what is in the image (not a caption) to users who are visually impaired.

Used for:

- OpenGraphImage.alt

- TwitterCardImage.alt

url readonly string | URL

URL of the image. Used for:

- OpenGraphImage.url

- TwitterCardImage.url