<p>Unfortunately I'm still very new to Craft, but I have a question to which I haven't found an answer here or in the Docs or the ones I found don't seem to work: Why doesn't this entry-loop output a picture? Because the image title is output correctly and the transformation medium exists.</p>

<pre><code>{% for entry in craft.entries
    .section('projects')
    .limit(1) %}
&lt;a href="{{{ entry.url }}"&gt;
    {% set image = entry.image.one() %}
    {% if image %}
        &lt;img src="{{ image.getUrl('Medium') }}" alt="{{{ image.title }}" /&gt;
    {% endif %}
&lt;/a&gt;
{% endfor %}
</code></pre>

<p>thanks for help!</p>

CC BY-SA 4.0
2020-02-10T04:27:55.430Z
The value you pass to `getUrl` is the handle of a valid Transform—usually, those are all lowercase… can you double-check that this is what's entered in the _Handle_ field, in the admin?
August Miller
CC BY-SA 4.0
2020-02-10T11:34:21.300Z
oh, that was my mistake - i had tried so much different code, that i used an example with a wrong handle here. Sorry! 

That wasn't the problem, but your question led me to the solution in a roundabout way, because I saw that Craft hadn't created any transformations: I didn't specify the path for public URLs in the assets, because I didn't know what this option is for and if you need it, because it appears optional. 

What is this option for?
Thanks for your quick help!
Matthias
<craft3><entry><image><loop>
Images won‘t display in an entry loop
# Images won‘t display in an entry loop

(Asked by: username_0 on 2020-02-09)

Unfortunately I'm still very new to Craft, but I have a question to which I haven't found an answer here or in the Docs or the ones I found don't seem to work: Why doesn't this entry-loop output a picture? Because the image title is output correctly and the transformation medium exists.
{% for entry in craft.entries
    .section('projects')
    .limit(1) %}

    {% set image = entry.image.one() %}
    {% if image %}
        
    {% endif %}

{% endfor %}

thanks for help!

**Tags:** craft3, entry, image, loop
> **Comments:**
> **username_1**: The value you pass to `getUrl` is the handle of a valid Transform—usually, those are all lowercase… can you double-check that this is what's entered in the _Handle_ field, in the admin?  
> **username_0**: oh, that was my mistake - i had tried so much different code, that i used an example with a wrong handle here. Sorry!   That wasn't the problem, but your question led me to the solution in a roundabout way, because I saw that Craft hadn't created any transformations: I didn't specify the path for public URLs in the assets, because I didn't know what this option is for and if you need it, because it appears optional.   What is this option for? Thanks for your quick help!  

---

## 0 answers

