4 Replies Latest reply: Apr 16, 2014 10:24 AM by Ken Herring RSS

    Document Extension: CSS Images

      Hey All,

       

      I'm creating a document extension to change some of the CSS of a document and am running into a problem.

       

      I can refer to images from the internet, but cannot figure out how to refer to images in my extension folder.

       

      For example this would work:

      .QvCaptionIcon.caption-icon-16x16.caption-SEARCH-dark-icon{

          background-image: url(https://www.example.com/magnifier.png);

      }

       

      But the case where I want to reference an image local to the extension/server does not:

      .QvCaptionIcon.caption-icon-16x16.caption-SEARCH-dark-icon{

          background-image: url(mag2.png);

       

      }

      OR

      .QvCaptionIcon.caption-icon-16x16.caption-SEARCH-dark-icon{

          background-image: url(MyExtension/mag2.png);

      }

       

       

      Has anyone else run into this?

       

      THANKS!