Getting images to display in NextGen media rss feed
-
I posted this question last week as a response to another thread, but I suspect that thread may be a bit too old, so I’m going to ask here again.
I’m working on setting up my own portfolio/artist’s website, and using the Nextgen plugin to display my galleries. I was frustrated with the fact that there were no images displayed in the RSS feed (only links to the images), and I know almost nothing about coding, etc., so was happy to find a previous thread that described a solution. I created a test gallery that only has blank blocks of color, and then edited the media-rss.php file; I changed this section of code:
$out .= $indent . “\t<description><![CDATA[” . nggGallery::i18n($desc) . “]]></description>\n”;
to read this way:
$out .= $indent . “\t<description><![CDATA[” . nggGallery::i18n($desc) . “>
<img src='”. $image->imageURL .”‘]]></description>\n”;Then I checked to see if the feed was working. First I subscribed to the feed using apple mail, and the full-size images were displaying fine, except that there is a “>” on one line, directly before the image. When I subscribe to the feed using google reader, however, the images don’t display in the feed. Instead, there is the same “>” on the first line, and then the image source tag–without a closing bracket–on the second line. So it looks like this:
>
<img src=’https://mattcoors.com/wp-content/gallery/blocks/block3.jpg’So it seems that for some reason the closing bracket is being displayed before the rest of the image tag, which is keeping some rss readers from displaying the image. Does anyone know what I can change to fix this problem? I would appreciate any help you could give.
Thanks,
–Matt
- The topic ‘Getting images to display in NextGen media rss feed’ is closed to new replies.