This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a media item in a specified gallery.
The createGalleryItem()
function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
Important:
When creating image
items in your gallery, the images must be uploaded to the Wix Media Manager first as the imageInfo
parameter currently only supports the Wix media URL.
You can only call this method when authenticated as a Wix app or Wix user identity.
Gallery ID.
Media item to create.