Image references in CSS broken
Permalink Browser Info Environment
Hi,
I almost got you add-on to work, only the image references in the css are broken by the add-on.
Where in the css it says:
The add-on turns this into:
Is there something I'm doing wrong?
Thanks!
Pascal
I almost got you add-on to work, only the image references in the css are broken by the add-on.
Where in the css it says:
background: transparent url(images/tv.png) no-repeat top left;
The add-on turns this into:
http://localhost/files/cache/css/bp/css/http://localhost/themes/bp/images/tv.png
Is there something I'm doing wrong?
Thanks!
Pascal
Type: | Discussion |
---|---|
Status: | New |
this looks useful. it doesn't seem supported.
is it recommended to use?
is it recommended to use?
this looks useful. it doesn't seem supported.
is it recommended to use?
is it recommended to use?
It works great on the website I use it on and I would certainly use it again for performance optimisation.
as my css reference instead of the documented:
The only small issue that remains is that I'd like to use the following directory structure:
But then when referring to the images folder from css style rules, we need to either need to be able to use a reference relative to the home folder. The getStyleSheet function resolves this reference correctly, but the XClydes function doesn't. The solution for me was to place the images folder within the css folder.
Is there a better solution for this?