Referencing custom files in your CSS or JavaScript

To reference files uploaded to the File manager from your CSS or JavaScript, use the relative path as follows:

<img src=”/merchantfiles/<first 3 numbers of site ref>/<site reference>/<filename>”/>


<img src=”/merchantfiles/018/testsite018/logo.gif” alt=”logo” />

  We recommend that you only reference custom files stored in the MyST File manager and not an external source, otherwise the customer’s browser may show a warning that the page isn’t secure.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request