Forum
Broken image icon in FF
Hey,
I'm using this code in a template, if no image is added a broken image link appears in FF. Anyone know how to fix this?
<perch:if exists="left-twin-col-image">
<img src="<perch:content id="left-twin-col-image" type="image" label="Image left" />" />
</perch:if>
Thanks, J
That has no error I can find. Have you looked at the html source to see what's being output?
Dashes aren't legal in a Perch ID, so that might be something to try - switch them to underscores.