3 Replies Latest reply on Oct 27, 2017 12:36 PM by ahmedb

    Is there a trick to getting urls to work in css or javascript  of a custom view tile?

    Eric Pierce

      How are you supposed to reference various custom images from your add on in the css or javascript of custom view tiles hosted by Jive?  If I add a path like "/mytile/images/myimage.png" as the src of an img tag in the view.html it works but actually shows up as  "https://mysite/resources/add-ons/{uuid of addon}/5406804d30/tiles/mytile/images/myimage.png" . However if I add the same path as say a background image url in css or use jquery to change the src of an item I get "https://mysite/mytile/images/myimage.png".


      What really obvious step am I missing to get this to work correctly?