How to make background-images editable?
Posted: Mon Apr 14, 2008 6:25 pm
First of all, I love CMS Made Simple, it's very useful software! I'm transferring a website into it and it works very well. But I wonder whether it's possible to make a background-image editable.
In the CSS I have this code:
I deleted the last line background: url(uploads/images/bg_contact.png); and put it into the template:
Now I like to make the image editable (in a global content block?). But of course that won't work, because when I add a picture using the WYSIWYG, this will be the code:
And that's not a part of the style-description for the background-image in the template.
QUESTION: Is there any way to make background-images editable other than just 'upload and overwrite' using the imagemanager?
Thanks in advance.
In the CSS I have this code:
Code: Select all
#container h2.contact {
float: right;
width: 541px;
height: 575px;
background: url(uploads/images/bg_contact.png);
}
Code: Select all
<div id="container">
<h2 class="contact" style="background: url(uploads/images/bg_contact.png);"></h2>
</div>
Code: Select all
<img src="uploads/images/bg_contact.png">
QUESTION: Is there any way to make background-images editable other than just 'upload and overwrite' using the imagemanager?
Thanks in advance.