I think I have found the source of other problems that I reported in earlier stages (like the baseUrl not having a /). This is happening:
I add a row to a collection and prefill some data for each client. The row holds 6 images, which are empty at first and which user can set/upload. Now, when you do, in console you get this:
Wix code SDK error: The “src” property cannot be set to “”. It must be a valid URL starting with “http://”, “https://”, or “image://”.
I always ignored it, but I only now found out that after this, code in no longer executed. Can this be true? And if so, is there a way around it (except for prefilling a dummy img?).
1 Like
Any answers? Because I need one. I simply do not understand why there is an SDK error raised when a non-mandatory image field iis retrieved in edit-mode, thereby halting the execution of any (form building) code. Is there workaround? I need one.
Could you post your site here so we could examine it?
Hi Uri. Well, it´s a restricted site for registered members, but I built in a workaround for Preview Mode, so you can just select any row and preview it. So would a link to my editor suffice?
We could try that. Or, if you prefer not to put it out here, you can send me directly at u@wix.com
Sent it to your email address.
hi i need to ask a question… so i need to do a texture gallery of my fabric texture and i dont know how to give a src of all the image i have to connect
Hy, I have the same problem as Giri. My settings are the same as on a other database connection, but even when I redo it all, the problem is the same. The site is gentiswatwedelen.gent. Can you help me Iri? Tnx
Bram, it turned out to be a non lethal error. It says it has no src for an image, which was true, but it doesn’t stop the code. If something goes wrong, then the problem is something else. So what is exactly the problem?