Table of Contents

Advanced Custom Fields Gallery Field Addon

Description

The Gallery field provides an interactive interface for managing a collection of attachments.

Settings

  • Return Format
    Specifies the format of the returned data. Choose from Array (array), URL (string), or ID (integer).
  • Preview Size
    The WordPress image size displayed when editing.
  • Insert
    Specifies where new attachments are added. Chose from either Beginning or End.
  • Library
    Limits file selection to only those that have been uploaded to this post, or the entire library.

Advanced Custom Fields Gallery Field Addon

  • Minimum Selection
    The minimum number of attachments required for field validation.
  • Maximum Selection
    The maximum number of attachments allowed for field validation.
  • Minimum
    Adds upload validation for minimum width in pixels (integer), height in pixels (integer) and filesize in MB (integer). The filesize may also be entered as a string containing the unit. eg. ’400 KB’.
  • Maxiumum
    Adds upload validation for maximum width, height and filesize.
  • Allowed File Types
    Adds upload validation for specific file types. Enter a comma separated list to specify which file types are allowed or leave blank to accept all types.