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) %}
<a href="{{{ entry.url }}">
{% set image = entry.image.one() %}
{% if image %}
<img src="{{ image.getUrl('Medium') }}" alt="{{{ image.title }}" />
{% endif %}
</a>
{% endfor %}
thanks for help!
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 Feb 10 '20 at 4:27