I have this:
This simply renders the path. The docs say to use this to display the picture:
That works, but now I have the path and the image.
I ended up doing this:
Is that okay? Are the docs wrong or did I do something wrong?
- 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?