Hi! I'm giving CouchCMS a try and overall it's been a smooth hence so far. Except that I can't get SVG to upload and display properly. If I add SVG to my site normally (outside of an editable region), they display without issue. I've read that the image uploader doesn't support SVG - which is a total bummer. The file uploader does upload the SVG imager but it displays as blank and then doesn't actually get inserted into the page.
I've added this to my globals page:
And this to a header file in the snippets folder:
Inspecting in the browser, nothing shows up in the image source.
Is there a step I missed or did incorrectly? Or is there a better way to add replaceable SVG?
I've added this to my globals page:
- Code: Select all
<cms:editable
name='my_logo'
label='Upload Logo'
desc='Upload the file here'
type='file'
/>
And this to a header file in the snippets folder:
- Code: Select all
<img src="<cms:show my_logo />"
Inspecting in the browser, nothing shows up in the image source.
Is there a step I missed or did incorrectly? Or is there a better way to add replaceable SVG?