summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-07 09:50:07 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-07 09:50:07 +0000
commitbcf2be54a7c2b02fdba03b509befafd0c6b50946 (patch)
treedc1386af75be6d1251baa4690ac5a52d0d0d4e31 /phpfspot.class.php
parent873c2c27c91e4d64fd2ec3f07e3de47caf8e076b (diff)
issue31, a mini preview of the previous and next photo is now shown in a single photo view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@175 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 92a0199..15d1302 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -217,11 +217,14 @@ class PHPFSPOT {
if($previous_img) {
$this->tmpl->assign('previous_url', "javascript:showImage(". $previous_img .");");
+ $this->tmpl->assign('prev_img', $previous_img);
}
if($next_img) {
$this->tmpl->assign('next_url', "javascript:showImage(". $next_img .");");
+ $this->tmpl->assign('next_img', $next_img);
}
+ $this->tmpl->assign('mini_width', $this->cfg->mini_width);
$this->tmpl->show("single_photo.tpl");
@@ -798,6 +801,7 @@ class PHPFSPOT {
$this->cfg->thumb_width,
$this->cfg->bubble_width,
$this->cfg->photo_width,
+ $this->cfg->mini_width,
);
/* get details from F-Spot's database */