openMediaManager( )


Important:

This API is in Developer Preview and is subject to change.

Opens the Wix Media Manager in a modal.

This function can only be used in page code files for dashboard pages created in the Wix editor or with Wix Blocks.

The Media Manager allows a site contributor to select one or more of the site's media files.

The openMediaManager() function returns a promise that resolves to an object containing an array of file descriptors for the selected media files.

Method Declaration
Copy
Method Parameters
optionsOpenMediaManagerOptionsRequired

Options for the Media Manager.

Returns
Return Type:Promise<openMediaManagerReturn>
Did this help?