Correct URL to reference an images in a skin
I want to reference an image ressource within my community style from within my CSS.
Let's take as an example the "icon_paging_page_arrow_next.png" right facing arrow from my skin called "Skype". According to the KB article Uploading your own images using Studio I should simply use "res/skins/Skype/images/icon_paging_page_arrow_next.png" as the image url for this, but http://community.skype.com/res/skins/Skype/images/icon_paging_page_arrow_next.png is an invalid ressource :(
What's the correct way to reference skin images from within CSS?
Hey Claudius,
You can reference skin images in the skin css as follows:
a.mypic {
background: transparent url(${images.icon_paging_page_arrow_next.url}) no-repeat left top;
}See this post for more info How to reference images? The only difference here is that you don't need the "skin." as you are already in the skin.
Hope this helps,
Yuri