Advanced Custom Fields: Image Size Select Field

Field to select registered image sizes within the WordPress dashboard.

0.7
WPMeta Score

Did you know?

Plugin Popularity 0.3
Author Activity 0.0
  • ๐Ÿ‘ท๐Ÿฟ We think this plugin is not actively maintained, as there are no major udpates for over a year.
  • ๐Ÿ“ฅ Umm.. Very few new users pick this plugin...
  • ๐Ÿ‘๐Ÿพ This plugin has not yet gained popularity. May still be useful though.
  • โค๏ธ Plugins developed by these contributors are not that popular.
  • ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง One man show!! Only a single contributor for this plugin.
  • ๐ŸŽ‚ This plugin celebrated it's 3rd anniversary 4 days ago.

Description

Field to select registered image sizes within the WordPress dashboard.

Compatibility

This ACF field type is compatible with:
* ACF 5

How to Use

Once activated, this plugin will create a Image Size field type in ACF. This field type will list all registered field types as a drop down within the field group.

To use this field within your custom templates you will use the following code:

$my_image_id   = get_field('my_image_id');    // ACF Image return type set to ID for this demo
$my_image_size = get_field('my_image_size');  // The selected image size (eg. large)

echo wp_get_attachment_image( $my_image_id, $my_image_size );  // Output the image based on the ID, and the Image Size selected.