> For the complete documentation index, see [llms.txt](https://help.pixfizz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pixfizz.com/ecommerce/pixfizz-ecommerce/pixfizz-cms/uploading-and-referencing-website-assets-in-liquid.md).

# Uploading and Referencing Website Assets in Liquid

This guide explains how to upload assets (like images, PDFs, or custom scripts) to your website's asset folder and reference them correctly within your Liquid templates.

***

### Uploading assets

You can upload a variety of file types to your website's asset folder:

* Images (.jpg, .jpeg, .png, .gif, etc.)
* Videos (max 10MB)
* PDF files
* JavaScript files (.js)
* Stylesheets (.css)
* Fonts

#### Where to upload

Upload all files via the admin under the **Website** tab → **Assets**.

> **Note:** There is no "Media Manager" — all asset uploads go through the Website → Assets tab.

***

### Referencing assets in Liquid code

Once uploaded, assets can be referenced using Liquid's `asset_url` filter:

```liquid
<img src="{{ 'logo-placeholder.png' | asset_url }}" alt="Logo Placeholder">
```

***

### Tips

* Always wrap the asset filename in quotes
* Use the pipe operator (`|`) followed by `asset_url`
* This technique works for any asset type — not just images
* For platform-level assets (CMS JS/CSS), use `pixfizz_asset_url` instead of `asset_url`
