The Image control allows an image to be uploaded and selected. This field makes use of the native WP media popup to handle the upload and selection process.

Image control save data as array and contain the following keys:

  • id
  • url
  • alt
  • caption
  • link

Handlebars template usage

Custom meta field usage

Accessing image by ID:

Was this helpful to you?