Title: Gallery Field
Published: February 20, 2025
Last modified: February 21, 2025

---

# Gallery Field

## In this article

 * [Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/?output_format=md#key-features)
 * [Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/?output_format=md#settings)

[ Back to top](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/?output_format=md#wp--skip-link--target)

The Gallery field enables management of multiple images in a single field. It provides
an intuitive interface for uploading, ordering, and managing collections of images.

## 󠀁[Key Features](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/?output_format=md#key-features)󠁿

 * Multiple image upload
 * Drag and drop ordering
 * Image previews
 * Bulk selection
 * Media library integration

## 󠀁[Settings](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/?output_format=md#settings)󠁿

 * Library – Restrict to uploaded or all images
 * Min/Max Selection – Limit number of images
 * Preview Size – Thumbnail display size
 * Insert – Prepend or append new images
 * Return Format – Array, URL, or ID

First published

February 20, 2025

Last updated

February 21, 2025

Edit article

[ Improve it on GitHub: Gallery Field ](https://github.com/wordpress/secure-custom-fields/edit/trunk/docs/features/field/gallery/index.md)

Changelog

[ See list of changes: Gallery Field ](https://github.com/wordpress/secure-custom-fields/commits/trunk/docs/features/field/gallery/index.md)

[  Previous: Using the Flexible Content Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/flexible-content/flexible-content-tutorial/)

[  Next: Using the Gallery Field](https://developer.wordpress.org/secure-custom-fields/code-reference/fields/gallery/gallery-tutorial/)