Image Sizes
ACF Extended Pro
Last Upated: Thursday, Feb 1, 2024
acfe_image_sizes
The Image Sizes field is made available by the Advanced Custom Fields Extended PRO plugin and provides an Image Sizes selector as radio, checkbox or select field type.
Types Added to the Schema
To support the Image Selector field type in the GraphQL Schema, an additional GraphQL Object Type is added to the Schema:
- ACFE_Image_Size (object type): An object type representing a registered image size in WordPress, with fields such as height, width, name and crop.
Resolve Type
Fields of the acfe_image_sizes
type will resolve to a "List of ACFE_Image_Size" in the GraphQL Schema.
The Image Sizes field can return one or more than one value.
Field Settings
Below you will find information about how various ACF field settings can impact how the field will map to the GraphQL Schema and/or modify resolution of the field when queried.