<ol>
<li>I don't think that the second screen has anything todo with it, because it's just about titles and adding a class to the body.</li>
<li>What do you get in the source of the rendered page? Does the div inside the if statement appear or not? And if yes, try to open the image url, which is created, in a new tab and see what you get.</li>
</ol>

CC BY-SA 3.0
2017-10-13T10:29:11.473Z
2017-10-13T10:29:11.473Z
Matthias Redl-Mann
<p>This might be a silly question, but is your <code>.pic-banner</code> class for this template styled correctly, ie. given a height etc?</p>

<p>Since you're setting it is a background-image it won't "expand" the element to the aspects of the image as it normally would using a img-element.</p>

CC BY-SA 3.0
2017-10-16T12:39:55.770Z
Thanks for your answer! Yes if there is a link to the image in the url, it works fine.
dashed.ch
CC BY-SA 3.0
2017-10-13T10:15:49.453Z
2017-10-13T10:15:49.453Z
Fuglsetrampen
<p>Good mornig</p>

<p>I am having a problem with my bannerImage.
First off i show you how i did it and what the problem is.</p>

<p><a href="https://i.sstatic.net/FMQDC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FMQDC.png" alt="enter image description here"></a></p>

<p>In the first picture you can see, how i get the image.
This method works fine for 3 other pages on this website.¨
My field setup is correct, because in other templates it works fine.</p>

<p>The only thing i can now think off is that there's something wrong with the name of the template.</p>

<p>Thanks for your help.</p>

<p><strong>EDIT</strong>
I fixed this problem like this.<a href="https://i.sstatic.net/XFb5k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XFb5k.png" alt="enter image description here"></a></p>

<assets><image><navigation>
Image does not be shown
# Image does not be shown

(Asked by: username_0 on 2017-10-13)

Good mornig

I am having a problem with my bannerImage.
First off i show you how i did it and what the problem is.

[![enter image description here](https://i.sstatic.net/FMQDC.png)](https://i.sstatic.net/FMQDC.png)

In the first picture you can see, how i get the image.
This method works fine for 3 other pages on this website.¨
My field setup is correct, because in other templates it works fine.

The only thing i can now think off is that there's something wrong with the name of the template.

Thanks for your help.

**EDIT**
I fixed this problem like this.[![enter image description here](https://i.sstatic.net/XFb5k.png)](https://i.sstatic.net/XFb5k.png)

**Tags:** assets, image, navigation


---

## 2 answers

### Answer by username_1 on 2017-10-13. Score: 1

1. I don't think that the second screen has anything todo with it, because it's just about titles and adding a class to the body.
2. What do you get in the source of the rendered page? Does the div inside the if statement appear or not? And if yes, try to open the image url, which is created, in a new tab and see what you get.


---

### Answer by username_2 on 2017-10-13. Score: 1

This might be a silly question, but is your `.pic-banner` class for this template styled correctly, ie. given a height etc?

Since you're setting it is a background-image it won't "expand" the element to the aspects of the image as it normally would using a img-element.

> **Comments:**
> **username_0**: Thanks for your answer! Yes if there is a link to the image in the url, it works fine.  

---

