I am using the LESS styling language.
Consider the following CSS:
.side-bg { background:url(../img/layout/side-bg.jpg) top no-repeat; }
The solution:
.side-bg { background : ~"url( '@{image-path}/layout/side-bg.jpg' )" top no-repeat; }