getCldOgImageUrl
Configuration

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

PropTypeRequiredExample
srcstringYesmy-public-id

Basic Transformations

PropTypeDefaultExample
cropstringfillscaleMore Info (opens in a new tab)
gravitystringcenterautoMore Info (opens in a new tab)
heightnumber12541254More Info (opens in a new tab)
widthnumber24002400More Info (opens in a new tab)

Find more configuration settings over at getCldImageUrl configuration.