Get pluginBuy


Gallery field with the possibility to select multiple images

This field allows not only chose multiple images but also change their order by drag and drop. Usage:

	'id' => 'my_gallery',
	'label' => 'Label',
	'type' => 'gallery',


Name Description
id (String) Field id. Required.
label (String) Field label. Required.
default (Int|Array) Default predefined value, which must be an attachment ID, use an array if you want to pass multiple values.
description (String) Some text or HTML that will be displayed after the field.
show_if (Array) You can display this field conditionally. In order to do that pass id key and value key with an id and value of any other checkbox, select or radio field the current field should depend on. Read more about conditional logic.