- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hello everyone,
I want to add an img-element in a custom html block.
In my theme css, the background of the splash page is set via the url-function "url(images/default-bg.jpg)" which refers to the default-bg.jpg located in the theme in the section Objects, folder images.
In accordance to that I created a folder photography in images and uploaded a thumbnail.jpg.
On my site I added a custom html block containing an img-element:
<img src="/images/photography/thumbnail.jpg" alt="lorem">
Published the site but the image won't show up. There is just the missing image icon to be seen.
What am I doing wrong? Thanks in advance for your help!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@MartinMt Your url path isn't quite complete. Try this:
<img src="/files/theme/images/photography/thumbnail.jpg" alt="lorem">

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hi @MartinMt I'm not able to assist with custom code, but if you post a link to your live site another user may be able to help you out.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@MartinMt Your url path isn't quite complete. Try this:
<img src="/files/theme/images/photography/thumbnail.jpg" alt="lorem">
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Oh gosh I'm sorry. For some reason I've totally forgotten that I have to use the real browser path instead. It works perfectly now. Thank you so much @PaulMathews ! 🙏🏻