<p>Yeah, I think you are close, you've just go your variables a bit mixed up. You set <code>entries</code>, but then reference <code>entry</code> and I think <code>getUrl</code> should be called as a function <code>getUrl()</code> as it's not a property (it might work that way, I've never tried tbh)</p>

<pre><code>{% set entry = craft.entries.slug('homepage') %}

{% for image in entry.podcastItunesImage %}
 &lt;itunes:image href="{{ image.first.getUrl() }}" /&gt;
{% endfor %}
</code></pre>

<p><strong>Edit</strong><br>
Oh I don't think you need <code>{{ siteUrl }}</code> when you call <code>getUrl()</code></p>

CC BY-SA 3.0
2017-09-08T08:16:27.503Z
You don't need `.getUrl()` either. `{{ image.url }}` would work aswell.
Justin Dekkers
CC BY-SA 3.0
2017-09-08T08:18:25.473Z
Oh nice, good tip!
Alec Ritson
CC BY-SA 3.0
2017-09-08T17:24:48.637Z
That didn't work. The results are empty. I may end up creating a template file just for the podcast, so I can have a little more control over it.
Jeff Fulton
CC BY-SA 3.0
2017-09-12T09:14:16.640Z
You probably need to do `{{ image.first.url }}` because image fields can hold multiple images.
Youniteus
CC BY-SA 3.0
2017-09-08T08:13:33.410Z
2017-09-12T18:57:31.650Z
2017-09-12T18:57:31.650Z
Alec Ritson
<p>Is it possible to pull an image from another entry? It seems like it would be simple. I've read a lot of posts and documentation, and feel like I'm close...</p>

<pre><code>{% set entries = craft.entries.slug('homepage') %}

{% for image in entry.podcastItunesImage %}
    &lt;itunes:image href="{{ siteUrl }}{{ image.getUrl}}" /&gt;
{% endfor %}
</code></pre>

<p>Basically, I'm trying to put an asset field on the Homepage for a iTunes image.</p>

<entries><image><set>
Image from Another Entry
# Image from Another Entry

(Asked by: username_0 on 2017-09-08)

Is it possible to pull an image from another entry? It seems like it would be simple. I've read a lot of posts and documentation, and feel like I'm close...
{% set entries = craft.entries.slug('homepage') %}

{% for image in entry.podcastItunesImage %}
    
{% endfor %}

Basically, I'm trying to put an asset field on the Homepage for a iTunes image.

**Tags:** entries, image, set

---

## 1 answers

### Answer by username_1 on 2017-09-08. Score: 1

Yeah, I think you are close, you've just go your variables a bit mixed up. You set entries, but then reference entry and I think getUrl should be called as a function getUrl() as it's not a property (it might work that way, I've never tried tbh)
{% set entry = craft.entries.slug('homepage') %}

{% for image in entry.podcastItunesImage %}
 
{% endfor %}

Edit
Oh I don't think you need {{ siteUrl }} when you call getUrl()

> **Comments:**
> **username_2**: You don't need `.getUrl()` either. `{{ image.url }}` would work aswell.  
> **username_1**: Oh nice, good tip!  
> **username_0**: That didn't work. The results are empty. I may end up creating a template file just for the podcast, so I can have a little more control over it.  
> **username_3**: You probably need to do `{{ image.first.url }}` because image fields can hold multiple images.  

---

