<p>I'd like to add to this post another possible solution if your "Assets for this source have public URLs" is turned on, but images are still not showing. I had my wires crossed in how I have the Base URL of the overall site set in relation to the Base URL in the Assets volume. In my particular case, the following settings finally got things working and all the images show up with getUrl() as they should. Hopefully this is helpful to others banging their heads trying to figure this out!</p>

<p><strong>In Assets/Volume:</strong>
Base URL = <strong>/images</strong>
File System Path = <strong>/images</strong></p>

<p><strong>In Settings/Sites:</strong>
Base URL = <strong>@web/</strong></p>

CC BY-SA 4.0
2019-05-13T07:01:30.170Z
The use of `@web` in your sites is being discouraged
Jan
CC BY-SA 4.0
2018-05-23T02:41:55.737Z
2018-05-23T02:41:55.737Z
matt.bryant
<p>The solution is to enable "assets for this source have public URLs" in the volume settings.</p>

CC BY-SA 3.0
2018-03-12T12:13:22.253Z
2018-03-12T12:13:22.253Z
nmsdvid
<p>I came across an interesting issue. I'm using Craft CMS 3.0.0-RC14 and non of my image paths are showing but the title and the file name does.</p>

<pre><code>{% set image = nav.navLogo.one() %}
{{image.title}} // works
{{image.fileName}} // works
{{image.getUrl()}} // no output, not even error
</code></pre>

<p>Any ideas ?</p>

CC BY-SA 3.0
2018-03-10T14:35:53.900Z
Did you enable the `assets for this source have public URLs` in your volume settings in the cp?
Robin Schambach
<craft3><image>
Craft 3 image asset getUrl() not showing
# Craft 3 image asset getUrl() not showing

(Asked by: username_0 on 2018-03-10)

I came across an interesting issue. I'm using Craft CMS 3.0.0-RC14 and non of my image paths are showing but the title and the file name does.
{% set image = nav.navLogo.one() %}
{{image.title}} // works
{{image.fileName}} // works
{{image.getUrl()}} // no output, not even error

Any ideas ?

**Tags:** craft3, image
> **Comments:**
> **username_1**: Did you enable the `assets for this source have public URLs` in your volume settings in the cp?  

---

## 2 answers

### Answer by username_0 on 2018-03-12. Score: 7 | Accepted answer

The solution is to enable "assets for this source have public URLs" in the volume settings.


---

### Answer by username_2 on 2018-05-23. Score: 1

I'd like to add to this post another possible solution if your "Assets for this source have public URLs" is turned on, but images are still not showing. I had my wires crossed in how I have the Base URL of the overall site set in relation to the Base URL in the Assets volume. In my particular case, the following settings finally got things working and all the images show up with getUrl() as they should. Hopefully this is helpful to others banging their heads trying to figure this out!

**In Assets/Volume:**
Base URL = **/images**
File System Path = **/images**

**In Settings/Sites:**
Base URL = **@web/**

> **Comments:**
> **username_3**: The use of `@web` in your sites is being discouraged  

---

