summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-06 04:03:15 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-06 04:03:15 +0000
commitc41194a6e77d38f96b8e650515b10bd1284824a5 (patch)
tree4db9d2a0b1ee3349c073384b67cbbcb0a55d9aa7 /modules
parent5dbb8a4874642c4c70b4b5e9ad7c1b4027895e39 (diff)
add fileSize attribute to thumbnail/resize/full images
Diffstat (limited to 'modules')
-rw-r--r--modules/media_rss/views/feed.mrss.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/media_rss/views/feed.mrss.php b/modules/media_rss/views/feed.mrss.php
index 2bc576f5..fde508b4 100644
--- a/modules/media_rss/views/feed.mrss.php
+++ b/modules/media_rss/views/feed.mrss.php
@@ -26,17 +26,20 @@
<guid isPermaLink="true"><?= url::abs_site("photos/$child->id") ?></guid>
<description><?= htmlspecialchars($child->description) ?></description>
<media:thumbnail url="<?= $child->thumb_url(true) ?>"
+ fileSize="<?= filesize($child->thumb_path()) ?>"
height="<?= $child->thumb_height ?>"
width="<?= $child->thumb_width ?>"
/>
<media:group>
<media:content url="<?= $child->resize_url(true) ?>"
+ fileSize="<?= filesize($child->resize_path()) ?>"
type="<?= $child->mime_type ?>"
height="<?= $child->resize_height ?>"
width="<?= $child->resize_width ?>"
isDefault="true"
/>
<media:content url="<?= $child->file_url(true) ?>"
+ fileSize="<?= filesize($child->file_path()) ?>"
type="<?= $child->mime_type ?>"
height="<?= $child->height ?>"
width="<?= $child->width ?>"