Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
I have this:

Code: Select all
<span class="photo"><cms:editable name='ceo_picture' label="CEO - Picture" type='image' group="leadership" /></span>


This simply renders the path. The docs say to use this to display the picture:

Code: Select all
<img src="<cms:show ceo_picture />" />


That works, but now I have the path and the image.

I ended up doing this:

Code: Select all
<span class="photo"><imc src="<cms:editable name='ceo_picture' label='CEO - Picture' type='image' group='leadership' />"></span>


Is that okay? Are the docs wrong or did I do something wrong?
2 posts Page 1 of 1
cron