Configuring CldOgImage
The CldOgImage component provides a wide range of options for being able to easily optimize and transform images.
Required Props
The basic props required to use CldOgImage include:
Prop | Type | Required | Example | |
---|---|---|---|---|
alt | string | Yes | Dog catching a frisbee | |
twitterTitle | string | Yes | Frisbee Shop | |
src | string | Yes | my-public-id |
Beyond that all the extra props that the CldImage component supports can also be applied to the CldOgImage. Take a look at the CldImage configuration for the rest of the properties.