I'm trying to make some images editable.
So I followed the documentation and in the top of my php file I put:
<cms:editable name='slide1_image' label='Image' desc='Upload 1' type='image'/>
<cms:editable name='slide2_image' label='Image' desc='Upload 2' type='image'/>
<cms:editable name='slide3_image' label='Image' desc='Upload 3' type='image'/>
<cms:editable name='slide4_image' label='Image' desc='Upload 4' type='image'/>
<cms:editable name='slide5_image' label='Image' desc='Upload 5' type='image'/>
In the body I put
style="background-image: url('<cms:show slide1_image />')
For each image.
In the backend I choose the right images.
The slider shows up with the right images, but at the top of the page the tags are printed
http://localhost/mywebsite/uploads/imag ... slide5.jpg
What am I doing wrong?
So I followed the documentation and in the top of my php file I put:
<cms:editable name='slide1_image' label='Image' desc='Upload 1' type='image'/>
<cms:editable name='slide2_image' label='Image' desc='Upload 2' type='image'/>
<cms:editable name='slide3_image' label='Image' desc='Upload 3' type='image'/>
<cms:editable name='slide4_image' label='Image' desc='Upload 4' type='image'/>
<cms:editable name='slide5_image' label='Image' desc='Upload 5' type='image'/>
In the body I put
style="background-image: url('<cms:show slide1_image />')
For each image.
In the backend I choose the right images.
The slider shows up with the right images, but at the top of the page the tags are printed
http://localhost/mywebsite/uploads/imag ... slide5.jpg
What am I doing wrong?