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:
Tips
Always wrap the asset filename in quotes
Use the pipe operator (
|) followed byasset_urlThis technique works for any asset type — not just images
For platform-level assets (CMS JS/CSS), use
pixfizz_asset_urlinstead ofasset_url
Last updated