summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/media_rss/views/feed.mrss.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/media_rss/views/feed.mrss.php b/modules/media_rss/views/feed.mrss.php
index fde508b4..d56b8ee0 100644
--- a/modules/media_rss/views/feed.mrss.php
+++ b/modules/media_rss/views/feed.mrss.php
@@ -25,6 +25,10 @@
<link><?= url::abs_site("photos/$child->id") ?></link>
<guid isPermaLink="true"><?= url::abs_site("photos/$child->id") ?></guid>
<description><?= htmlspecialchars($child->description) ?></description>
+ <enclosure url="<?= $child->file_url(true) ?>"
+ type="<?= $child->mime_type ?>"
+ height="<?= $child->height ?>"
+ width="<?= $child->width ?>"/>
<media:thumbnail url="<?= $child->thumb_url(true) ?>"
fileSize="<?= filesize($child->thumb_path()) ?>"
height="<?= $child->thumb_height ?>"