summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
Diffstat (limited to 'core/views')
-rw-r--r--core/views/admin_block_photo_stream.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/admin_block_photo_stream.html.php b/core/views/admin_block_photo_stream.html.php
index af8d8545..6f961b29 100644
--- a/core/views/admin_block_photo_stream.html.php
+++ b/core/views/admin_block_photo_stream.html.php
@@ -4,6 +4,7 @@
</p>
<? foreach ($photos as $photo): ?>
<a href="<?= url::site("photos/$photo->id") ?>">
- <img <?= photo::img_dimensions($photo, 72) ?> src="<?= $photo->thumb_url() ?>" alt="" />
+ <img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?>
+ src="<?= $photo->thumb_url() ?>" alt="" />
</a>
<? endforeach ?>