When "File path" in an image field is not set, media rss works. If a file path is added to an imagefield (see filepath.png), the image is created there as expected, and imagecache creates images and thumbnails in a subdirectory by that name under the corresponding preset. Problem/question is that media rss doesn't seem to find images if subdirectory set--whatever I'm using to display media rss views works if no subdirectory, doesn't work if a subdirectory is set.
The description from preview has the right path (subdirectory called "gallery"...)
http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/image...
but media:content and media:thumbnail are missing the additional subdirectory
<media:content url="http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/imagecache/BigPicture/062808_0033.jpg" type="image/jpeg" />
<media:thumbnail url="http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/imagecache/BigPicture/062808_0033.jpg" />
I'm confused because this http://www.gurnetroad.com/test/feeds/faces/rss.xml seems to reference the right location.
Not sure if this is something in my setup or if I'm doing something wrong....
Thanks.
<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://www.gurnetroad.com/test/feeds/faces/rss.xml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>faces</title>
<link>http://www.gurnetroad.com/test/feeds/faces/rss.xml</link>
<description></description>
<language>en</language>
<item>
<title>062808_0033</title>
<link>http://www.gurnetroad.com/test/content/0628080033</link>
<description><a href="/test//test/content/0628080033"><img src="http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/imagecache/BigPicture/gallery/062808_0033.jpg" alt="" title="" width="990" height="659" /></a></description>
<category domain="http://www.gurnetroad.com/test/category/site-taxonomy/galleries/people/faces">Faces</category>
<pubDate>Thu, 05 Feb 2009 12:10:41 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">173 at http://www.gurnetroad.com/test</guid>
<media:content url="http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/imagecache/BigPicture/062808_0033.jpg" type="image/jpeg" />
<media:thumbnail url="http://www.gurnetroad.com/test/sites/www.gurnetroad.com.test/files/imagecache/BigPicture/062808_0033.jpg" />
</item>
</channel>
</rss>
Comments
Comment #1
Microbe commentedThanks for the post. I was using the wrong function to create URL. Should be fixed in new version
Download MediaRSS-6.x-2.5
Thanks
Peter
Comment #2
Anonymous (not verified) commentedFantastic--quick test, looks great.
Thanks much for the fix.
--Dave
Comment #3
Microbe commentedgreat