ResponsiveBreakpointsConfig
class ResponsiveBreakpointsConfig extends BaseConfigSection
Defines the global responsive breakpoints configuration.
Learn more: Responsive breakpoints
Properties
array | $breakpoints | An array of static breakpoints to use (overrides Cloudinary-optimized breakpoints). | |
bool | $autoOptimalBreakpoints | Defines whether to use auto optimal breakpoints. | |
int | $minWidth | The minimum width needed for the image. Default: 375. | |
int | $maxWidth | The maximum width needed for the image. Default 3840. | |
int | $maxImages | The maximal number of breakpoints. |
Constants
CONFIG_NAME |
|
DEFAULT_MIN_WIDTH |
|
DEFAULT_MAX_WIDTH |
|
DEFAULT_MAX_IMAGES |
|
BREAKPOINTS |
|
MIN_WIDTH |
|
MAX_WIDTH |
|
MAX_IMAGES |
|
AUTO_OPTIMAL_BREAKPOINTS |
|