Using an image in the Theme folder in TincyMCE.
Permalink
I have an image in my Theme folder which is currently in the themes template files. ie.
I'd like to move this into a Content block but TinyMCE changes the html to:
Note: The php tag above does not appear in TinyMCE but added by the forum.
I appreciate that I can move the image to the C5 Files folder and insert it that way, however it seems more sensible to leave it with the theme.
<img src="<?=$this->getThemePath()?>/theme/images/logo.png" />
I'd like to move this into a Content block but TinyMCE changes the html to:
<img class="logo" src="<?=$this->getThemePath()?>/theme/images/logo.png" />
Note: The php tag above does not appear in TinyMCE but added by the forum.
I appreciate that I can move the image to the C5 Files folder and insert it that way, however it seems more sensible to leave it with the theme.
1) create an area in your theme
2) login to concrete5, add an image block.
3) choose add image and once the file manager comes up choose upload, select your image on your hard drive and you are done.
defunct.