Assets
The image/ folder
- Served at
/image/…from the active template'simage/folder server.js:80 security.js:467 - Extensions:
.png.jpeg.jpg.gif.webp.bmp.svg; other files are not served. - Sub-folders: allowed. Hidden files (starting with ".") are not served.
{TEMPLATE_IMAGES}lists top-level files of image/ only.- <img src="image/x.png"> and "./image/x.png" are rewritten to "/image/x.png"; CSS url() is not rewritten, so use /image/... there.
- External <img src="https://..."> URLs are rewritten to the image proxy (/img-proxy?url=...).
Any other file in the template folder (for example logo.png at the top level) is not served by the application.
Asset manager (Studio)
The Assets panel lists every image with its size, dimensions and where it is used; you can add (button or drag and drop), replace (same name, so references keep working), delete (with a warning when used), search, copy the URL and insert it. Broken references (an /image/… path with no file) are listed at the top and in Problems.
Product and store images
Product, category and store pictures come from the store's data (uploaded in the admin), not from the template. The preview datasets generate their own local pictures under /uploads/sample/.