Ad

Where Should I Place My Image Files For OctoberCMS

- 1 answer

Im currently developing a website using OCtoberCMS and Im using a bootstrap theme provided by Hamberns, I want to customize my jumbotron by placing image overlay. My question is where do place my image files? OctoberCMS file structure is very confusing for me.

Ad

Answer

You typically will put the images in themes/[theme-name]/assets/images. Then you can reference that file in your template like this: <img src="{{ 'assets/images/your-image.jpg'|theme }}" alt="My Image" />

Ad
source: stackoverflow.com
Ad