HTML template with text and image (not showing)

I have a HTML-template with 2 text-fileds and an image.
The text-fields are updated, but the image doesn’t show.

This is what is sent from the client:

CG 1-10 ADD 1 "TITLE_DOUBLE3" 1
"<templateData>
   <componentData id=\"Navn\"><data id=\"text\" value=\"Spiller\" /></componentData>
   <componentData id=\"Klubb\"><data id=\"text\" value=\"Klubb\" /></componentData>
   <componentData id=\"Profil\"><data id=\"text\" value=\"img=D:/CasparCG/casparcg-server-v2.3.3-lts-stable/media/PROFIL.png\"/></componentData>
</templateData>"

I’ve tried both absolute and relative paths. What could be wrong?

CG 1-10 ADD 1 "TITLE_DOUBLE3" 1 "<templateData><componentData id=\"Navn\"><data id=\"text\" value=\"Spiller\" /></componentData><componentData id=\"Klubb\"><data id=\"text\" value=\"Klubb\" /></componentData><componentData id=\"Profil\"><data id=\"text\" value=\"D:/CasparCG/casparcg-server-v2.3.3-lts-stable/media/PROFIL.png\" ></componentData></templateData>"

above works

2 Likes

Usually the filename needs to be formatted as a URL, so

img=D:/CasparCG/casparcg-server-v2.3.3ltsstable/media/PROFIL.png

would become:

file:///D:/CasparCG/casparcg-server-v2.3.3ltsstable/media/PROFIL.png
1 Like

Many thanks!