From f476e2169ee84922dfe48d5a5065e1eabe40713f Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Tue, 23 Dec 2008 01:27:50 +0000
Subject: Change photo::img_dimensions to take the dimensions, not a photo.
This lets us use it in the watermark module too
---
core/views/admin_block_photo_stream.html.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'core/views')
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 @@
foreach ($photos as $photo): ?>
id") ?>">
-
src="= $photo->thumb_url() ?>" alt="" />
+
width, $photo->height, 72) ?>
+ src="= $photo->thumb_url() ?>" alt="" />
endforeach ?>
--
cgit v1.2.3