aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-28 13:32:41 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-28 13:32:41 +0000
commitcb8f1902d1fed270507c045d7b1575fb265a57f2 (patch)
treec1d67397a854804ec872ef3e0e1d723fa43b106e /views
parentec24309e01d00fd913071747839aece6f7a8d866 (diff)
downloadelgg-cb8f1902d1fed270507c045d7b1575fb265a57f2.tar.gz
elgg-cb8f1902d1fed270507c045d7b1575fb265a57f2.tar.bz2
added media type to media content tag
Diffstat (limited to 'views')
-rw-r--r--views/rss/object/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/rss/object/album.php b/views/rss/object/album.php
index fbe1ab058..70552e833 100644
--- a/views/rss/object/album.php
+++ b/views/rss/object/album.php
@@ -32,7 +32,7 @@
<description><?php echo $caption; ?></description>
<pubDate><?php echo date("r", $image->time_created); ?></pubDate>
<guid isPermaLink="true"><?php echo $image->getURL(); ?></guid>
- <media:content url="<?php echo $base_url . $image->guid . '&amp;size=large'; ?>">
+ <media:content url="<?php echo $base_url . $image->guid . '&amp;size=large'; ?>" medium="image" type="<?php echo $image->getMimeType(); ?>">
<media:title><?php echo $image->title; ?></media:title>
<media:description><?php echo $caption; ?></media:description>
<media:thumbnail url="<?php echo $base_url . $image->guid . '&amp;size=thumb'; ?>"></media:thumbnail>