Including Files On Your Web Site

Once you have uploaded a file to the File Manager, you will probably want to include it somehow on your web site. If the file is an image, you will want to display the image, while if it is a PDF file, you may just want a text link to the file.

All references to files from your web site must use the file prefix /assets. For example, if you have a file called logo.gif in a directory in the File Manager called images, you would reference it on your web site using /assets/images/logo.gif. Doing so using an HTML image tag would be achieved as follows:

<img src="/assets/images/logo.gif" alt="My Logo" />

Likewise, if you had a PDF file in the root folder you want to link to, you might use:

<a href="/assets/company-information.pdf">Company Information (PDF)</a>