diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-28 13:32:41 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-28 13:32:41 +0000 |
commit | cb8f1902d1fed270507c045d7b1575fb265a57f2 (patch) | |
tree | c1d67397a854804ec872ef3e0e1d723fa43b106e /views/rss | |
parent | ec24309e01d00fd913071747839aece6f7a8d866 (diff) | |
download | elgg-cb8f1902d1fed270507c045d7b1575fb265a57f2.tar.gz elgg-cb8f1902d1fed270507c045d7b1575fb265a57f2.tar.bz2 |
added media type to media content tag
Diffstat (limited to 'views/rss')
-rw-r--r-- | views/rss/object/album.php | 2 |
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 . '&size=large'; ?>">
+ <media:content url="<?php echo $base_url . $image->guid . '&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 . '&size=thumb'; ?>"></media:thumbnail>
|