I am building a wix site with dynamic pages. I have a database containing text fields as well as a field which contains the filenames of images I want to show in each dynamic page. For example dyanmic page 1 shows image 1, page 2 shows image 2 and so on.
Using $w("#img").src, I can set the image source to images at various URLs but I cant set the source to use images I have already uploaded. I guess the main problem is I dont know the image names for images in Media Manager. For example, I uploaded an image M01.jpg but when I try $w("#image").src="wix:image://M01.jpg", the image will not be displayed.
Does anyone know how I can use wix:image to access the images already in Media Manager?
Thanks all for your help!