wix origami upload-media

Alpha: Exporting your site to code is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

Uploads the images that an exported site adds from a URL or from a file on your computer to the site's Media Manager. The command then updates the exported site's files to use the uploaded images.

Images that aren't in Wix Media don't display after you import the site. A coding agent runs this command after it adds images, and the import offers to upload any that are left.

Note: This command is part of the origami flow. To use it, add the flow to the CLI.

Usage

Copy

Flags

The following flags are available for the wix origami upload-media command:

FlagDescription
--site <site>The name or ID of the site to upload the images to. Defaults to the site that you exported from.
-d, --dir <path>The folder of the exported site. Defaults to the current folder.
--jsonOutputs the result in JSON format.

Last updated: 29 October 2026

Did this help?