Awilum wrote:<img src="<?php echo Site::url(); ?>images/image1.jpg"
instead of
<img src="<?php echo Site::url(); ?>/images/image1.jpg"
This would work if I were editing a chunk (i suppose) but I am only talking about editing a page.
The solution to use relative image url works fine for my localhost and live installs.
However, I do have another problem:
When using the markitup preview window, I am trying to get the main template css imported so that it look as it will on the site. A must for happy customers where I am concerned. The preview html and defauly css for mark it up are located in:
/plugins/markitup/markitup/templates/
For some reason when I place a url link from the preview html (in above folder) to my main css (/css/style.css) the preview displays with my background color and image. However, if I place a copy of the css in the aforementioned folder all is fine.
I dont mind this but I am obviously going to change the css a lot when developing so it is nice to have a quick access preview. is there a way to create a dynamic file (like an alias or shortcut) on a server to replicate the css file to the markitup template folder?
On my localhost I have si