Answers.Body: <p>If you want to just include the URL of the image in the feed so it can be picked up by Feed Me on another site, I believe you can use the <code>&lt;media:thumbnail&gt;</code> tag:</p>
  <pre><code>&lt;item&gt;
      &lt;title&gt;{{ entry.title }}&lt;/title&gt;
      &lt;link&gt;{{ entry.url }}&lt;/link&gt;
      ...
      &lt;media:thumbnail url=&quot;{{ entry.myImageField.one().url }}&quot; /&gt;
  &lt;/item&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-04T15:15:55.183Z
Answers.Text: Thanks guys that got me sorted
Answers.UserDisplayName: bhackett
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-01T15:33:21.307Z
Answers.LastActivityDate: 2023-09-04T07:53:01.407Z
Answers.LastEditDate: 2023-09-04T07:53:01.407Z
Answers.UserDisplayName: Martin Spain
Answers.Body: <p>If you are using the <a href="https://craftcms.com/knowledge-base/rss-and-atom-feeds" rel="nofollow noreferrer">template that Craft suggests</a>.
  Then you can add the image into the  tag.
  In my case the assets field is named &quot;titleImage&quot;. I have a transform defined as &quot;gallery&quot; to resize the image down to a sensible size. I'm not sure if you need to include the width/height/alt of the image but I do in case it's useful to the feed reader. I'm not sure if different readers have different specs. This works in the Mac app NetNewsWire.</p>
  <pre><code>&lt;description&gt;
      &lt;![CDATA[
      {% set image = entry.titleImage[0] ?? null %}
      {% if image|length %}
          &lt;img src=&quot;{{ image.url('gallery') }}&quot; alt=&quot;{{ image.caption }}&quot; width=&quot;{{ image.getWidth('gallery') }}&quot; height=&quot;{{ image.getHeight('gallery') }}&quot;&gt;
      {% endif %}
      {{ entry.summary }}
      ]]&gt;
  &lt;/description&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-31T14:09:38.750Z
Answers.LastActivityDate: 2023-08-31T14:09:38.750Z
Answers.UserDisplayName: Paul Frost
Body: <p>I am creating a RSS feed from a news channel and I have gotten it all working except for the news story image which is an assets field. I want to pass the url of the image so I can pull it in via feed me into another craft site. I have looked and I can't find any examples of this working anywhere. Thanks for any help</p>
  
Tags: <assets><rss>
Title: Adding an assets image URL field to an RSS feed
ThreadText: # Adding an assets image URL field to an RSS feed
  
  (Asked by: username_0 on 2023-08-31)
  
  I am creating a RSS feed from a news channel and I have gotten it all working except for the news story image which is an assets field. I want to pass the url of the image so I can pull it in via feed me into another craft site. I have looked and I can't find any examples of this working anywhere. Thanks for any help
  
  **Tags:** assets, rss
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2023-09-01. Score: 1 | Accepted answer
  
  If you want to just include the URL of the image in the feed so it can be picked up by Feed Me on another site, I believe you can use the `<media:thumbnail>` tag:
  
  ```
  <item>
      <title>{{ entry.title }}</title>
      <link>{{ entry.url }}</link>
      ...
      <media:thumbnail url="{{ entry.myImageField.one().url }}" />
  </item>
  
  ```
  
  > **Comments:**
  > **username_0**: Thanks guys that got me sorted  
  
  ---
  
  ### Answer by username_2 on 2023-08-31. Score: 1
  
  If you are using the [template that Craft suggests](https://craftcms.com/knowledge-base/rss-and-atom-feeds).
  Then you can add the image into the tag.
  In my case the assets field is named "titleImage". I have a transform defined as "gallery" to resize the image down to a sensible size. I'm not sure if you need to include the width/height/alt of the image but I do in case it's useful to the feed reader. I'm not sure if different readers have different specs. This works in the Mac app NetNewsWire.
  
  ```
  <description>
      <![CDATA[
      {% set image = entry.titleImage[0] ?? null %}
      {% if image|length %}
          <img src="{{ image.url('gallery') }}" alt="{{ image.caption }}" width="{{ image.getWidth('gallery') }}" height="{{ image.getHeight('gallery') }}">
      {% endif %}
      {{ entry.summary }}
      ]]>
  </description>
  
  ```
  
  
  ---
  
  