RSS - displaying image, instead of enclosure? <p>I have made a rss feed for my website, but right now the feed is not really displaying a image but just a link to the image as a enclosure. I would like to know what changes I need to make so I can actually display a image in the rss feed.</p> <pre><code>echo ' &lt;item&gt; &lt;title&gt;'.html_entity_decode($gag[story], ENT_COMPAT, "UTF-8").' - '.$thesitename.'&lt;/title&gt; &lt;description&gt;&lt;![CDATA['.html_entity_decode($gag[story], ENT_COMPAT, "UTF-8").']]&gt;&lt;/description&gt; &lt;link&gt;'.$thebaseurl.'/post/'.$gag[PID].'&lt;/link&gt; &lt;guid&gt;'.$thebaseurl.'/post/'.$gag[PID].'/&lt;/guid&gt;'; if($gag[pic] != ""){echo ' &lt;enclosure type="image/jpeg" url="'.$thebaseurl.'/pdata/t/'.$gag[pic].'" length="1" /&gt;'; } echo ' </code></pre>