Question: Good day.

My structure is like this:

```
/
  index.html
  style/
    main.css
  images/
  test/
    test.html

```

**/style/main.css** says something like this:

```
body {
    background-image: url('/images/SomeImage.png');
    background-color: #000;
}

```

**/index.html** has a link to this CSS file, but, as the title says, no image will load. But it's connected though, cause the background is actually black, so the rest of the style (but images) does work.

Also, if I write the same style internally into **/index.html** the background will load.

Also, I created **/test/test.html** which says nothing but 

```
<img src="/images/SomeImage.png" />

```

and the image is displayed on that page.

So, obviously, for some reason my **/style/main.css** can't reach files, that any other file from any other location reaches. Why does this happen? There's clearly nothing wrong with the syntax. I'm lost.

Answer: 
Try to copy webpage, css and example image in one folder temporarily. Then use only image name for url a see what happens. If it works, it will be the image path, if not something else.. possibly position.. is this complete css you are posting?
if you are in **/styles/style.css** you need to add:

**../ 2 levels back to get to the root folder.**

So as Rokin answered :

```
background-image: url('../images/SomeImage.png');

```

is the way to do it.

To link your CSS within your index file use the following:

```
<link href="./style/style.css" rel='stylesheet' type='text/css'>

```

**./ 1 level back within the index.html to reach the root folder.**

In addition your problem might also be a file permission problem, I always face this issue when i download images from my email and use them directly.

If you are working locally on a mac:

```
- Right click on the selected image
- click on **get info**
- In sharing and permissions, make sure that the **everyone** has the **Read only** permission instead of **No access**

```

If you are working directly on a live server:

```
- login using FTP (with any ftp client such as File Zilla)
- Go to the selected image 
- Right click and select file permissions
- set permissions to : **664**

```