CldOgImage Configuration
The CldOgImage component is built on top of the same APIs used for CldImage, giving you the ability to apply the same transformations to your social cards as you can any image.
See CldImage for all image transformations.
General Props
Prop Name | Type | Example |
---|---|---|
alt | string | "Next Cloudinary" |
excludeTags | array | ['twitter:title'] |
twitterTitle | string | "Next Cloudinary" |
Excluding Tags
The summary_large_image
Twitter card type requires the inclusion of a twitter:title
card. Because of this, the component includes it by default for simplified use along with a prop to change the value.
To exclude this tag to manage it on your own, use the excludeTags
prop:
excludeTags={['twitter:title']}