From 91b606336be6983c11e537c850fa3776527207cc Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Fri, 8 Jun 2007 17:44:31 +0000 Subject: [PATCH 1/1] when click on the loupe open a new window and display the image in its full resolution git-svn-id: file:///var/lib/svn/phpfspot/trunk@61 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 1 + templates/single_photo.tpl | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index e4ca4ff..de2adc0 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -111,6 +111,7 @@ class PHPFSPOT { $this->tmpl->assign('madewith', $meta['Make'] ." ". $meta['Model']); $this->tmpl->assign('image_name', $details['name']); $this->tmpl->assign('image_url', 'phpfspot_img.php?idx='. $photo ."&width=". $this->cfg->photo_width); + $this->tmpl->assign('image_url_full', 'phpfspot_img.php?idx='. $photo); if($previous_img) { $this->tmpl->assign('previous_url', "javascript:showImage(". $previous_img .");"); diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index 28c416d..51d4663 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -5,7 +5,9 @@ Photo {$image_name}, {$c_date}, {$madewith}
- + + + -- 2.25.1