Forum Discussion

Claudius's avatar
12 years ago

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". A...
  • YuriK's avatar
    YuriK
    12 years ago

    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