AnsweredAssumed Answered

Adding Images

Question asked by rdsingh83 on Apr 3, 2018
Latest reply on Apr 9, 2018 by eugenio_romano

Hi Community 


I just created customized dash let for my Site . I provide reference for js and css file to ftl template . Css contains reference address for some images for example


#social ul li {
   background: url(../images/bg_social-rss.gif) no-repeat 0 0;
   padding-left: 20px;

But for some reason images is not loading , in server I am getting error 

SEVERE: Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'site/myfirstsite/images/bg_social-rss.gif' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause


Please let me know where should I put images folder , or what need to do if I need to modify css.

currently it is located --> /src/main/resources/alfresco/web-extension/site-webscripts/myContent/images