Sets or gets the file location of the image.

Setting the src property changes the displayed image to the image found at the new src value.

Getting the src property returns the location of the current image file.

The image file can either be an image file from the Media Manager or an external file from any web location.

The URL formats supported are:

  • Images from the Media Manager: wix:image://v1//#originWidth=&originHeight=[&watermark=]
  • Images from the web: http(s)://

    Note: Images from the web will not be transformed. This means the following features are not available: Align, crop, focal point, fitMode, resize, and resolution.

Was this helpful?