getCldOgImageUrl Configuration
Configuration for getCldOgImageUrl is the same as getCldImageUrl.
The only difference is getCldOgImageUrl provides the following default settings to make generating an OG image URL simpler:
Required Props
| Prop | Type | Required | Example |
|---|---|---|---|
| src | string | Yes | my-public-id |
Basic Transformations
| Prop | Type | Default | Example | |
|---|---|---|---|---|
| crop | string | fill | scale | More Info (opens in a new tab) |
| gravity | string | center | auto | More Info (opens in a new tab) |
| height | number | 1254 | 1254 | More Info (opens in a new tab) |
| width | number | 2400 | 2400 | More Info (opens in a new tab) |
Find more configuration settings over at getCldImageUrl configuration.