
Hello!
I have this snippet of code:
<input type="text" name="attr_image_url" /><input type="hidden" name="attr_calculated_image_url" /><img src="@{calculated_image_url}" alt="Dynamic Image"/>on("change:image_url", function() {getAttrs(["image_url"], function(values) {setAttrs({calculated_image_url: values.image_url});});});
If I statically put in the URL to the image in the src element, it of course works. But if the src="@{calculated_image_url}" just gives me the broken thumbnail icon with "Dynamic Image".
Is there a way to have an input field they can paste the URL in and then it gets displayed?
TIA!
-Mike