summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-27 11:13:24 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-27 11:13:24 +0000
commit0b86568586b423de9689ba659782c3b67defe29a (patch)
tree1ec97275d71517b1755c81dd6008159d613b87bf
parentd909fc10706776f5396d032e655659c06989763c (diff)
Use the dimensions of the real image
-rw-r--r--themes/default/views/photo.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index f9ce96cf..1229bc00 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -1,6 +1,8 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gItem">
- <a href="" class="gButtonLink">Full size (1024x768)</a>
+ <a href="" class="gButtonLink">
+ <?= sprintf(_("Full size (%dx%d)"), $item->width, $item->height) ?>
+ </a>
<?= $theme->photo_top() ?>
<img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>"