Input Field – radio_image_set
20/01/2021
You can use the radio_image_set input field to allow users to select the image as an option. See the below example for how you can use the radio_image_set input field.
Example
Copy to Clipboard
Parameters
- type
( string ) input type. - heading
( string ) Setting title. - description
( string ) Short description about the setting field. - param_name
( string ) Attribute name to be used in the shortcode. - value
( array ) Array of image id and the image url. Image id from the array will be stored in the shortcode, so you can get the url from it. - width
( string ) The width for the image being displayed in the setting field. This is useful if you want to display multiple fields with different image sizes. - height
( string ) The height for the image being displayed in the setting field. This is useful if you want to display multiple fields with different image sizes.