I have documents src’s stored in a database and I want to be able to display them on a page. Is there a gallery that can be used to display them or something? I cannot use the document buttons as there is not a fixed amount in the database.
https://www.wix.com/corvid/reference/$w.Image.html
src
Sets or gets the file location of the image.
Description
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=<watermark_manifest_string>]
-
Images from the web: http(s)://
Previous forum posts can help here.
https://www.wix.com/corvid/forum/community-discussion/answered-w-image-setting-src
https://www.wix.com/corvid/forum/community-discussion/image-database-field-as-image-source
https://www.wix.com/corvid/forum/community-discussion/connecting-gallery-images-to-image-fields-in-database
https://www.wix.com/corvid/forum/community-discussion/set-image-from-media-manager-for-database-field
Along with this example by Vorbly.
https://www.vorbly.com/Vorbly-Code/WIX-GALLERY-IMAGES-FROM-DATABASE