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:
-
OpenGraph.image (needs standard module)
-
TwitterCard.image (needs Twitter Cards module)
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: |
url | readonly |
string | URL | URL of the image. Used for: |