Skip to main content
added 6 characters in body
Source Link
Brad Bell
  • 67.6k
  • 6
  • 75
  • 145

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 %}
    <itunes:image href="{{ siteUrl }}{{ image.getUrl}}" />
{% endfor %}

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

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 %}
<itunes:image href="{{ siteUrl }}{{ image.getUrl}}" />
{% endfor %}

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

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 %}
    <itunes:image href="{{ siteUrl }}{{ image.getUrl}}" />
{% endfor %}

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

Source Link

Image from Another Entry

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 %}
<itunes:image href="{{ siteUrl }}{{ image.getUrl}}" />
{% endfor %}

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