From: Andreas Unterkircher Date: Fri, 8 Jun 2007 17:44:31 +0000 (+0000) Subject: when click on the loupe open a new window and display the image X-Git-Tag: phpfspot-1.2~274 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=91b606336be6983c11e537c850fa3776527207cc;hp=e203c68758deb0a57a7432a03ce815abcccb9937 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 --- 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}
- + + +