Site-wide image in theme

How can I access, in a partial view, images that are placed in the ‘assets’ or ‘images’ folder of a theme?

There are a variety of options at outlined in the docs. I suggest creating a user/pages/images folder and putting all your images there. Then you can access those from any page by simply using something like:


Thats the whole point of the question: I dont eant a theme specific logo in pages/images, but in a folder in the theme. I was hoping I could reference the image in a better way that

You can use an image from a directory such as /user/themes/antimatter/images/logo.png like this:

<img src="{{ url('theme://images/logo.png') }}" />

This will automatically resolve the URL to the current theme then add the images/logo.png to the that.