A Gallery field can be inserted in:
- an Admin Page, as an option or a user_meta
- a User Profile, as a user_meta
- a Metabox, as a post_meta
![Admin Builder TITAN Gallery – Sukellos – WordPress expert – Freelance WordPress Developer – Website Creation – Development of WordPress & WooCommerce plugins – LEO2 WooCommerce – WordPress Admin Builder Sukellos Admin Builder](https://wp-adminbuilder.com/wp-content/uploads/2022/03/admin-builder-gallery.jpg)
The code below is used to generate this section in an Admin Page, for an option:
Copy to Clipboard
A Gallery inherit from a Field, and an Item, then all settings described in Field Settings and Item Settings are also used.
Specific settings for Gallery:
Gallery Settings | Description |
---|---|
placeholder string / Default: ” |
The placeholder label shown when the input field is blank |
size string / Default: ‘full’ |
The size of the image, ‘full’ or ‘thumbnail’ |