• Components
  • CldOgImage
  • Configuration

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 NameTypeExample
altstring"Next Cloudinary"
excludeTagsarray['twitter:title']
twitterTitlestring"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']}
Last updated on December 2, 2022