From addc988921081fcc4571be3cc7cd2375e621fee4 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 19 Jan 2008 10:02:19 +0100 Subject: issue102, use javascript to jump to the correct thumbnail when returing from photo-view Signed-off-by: Andreas Unterkircher --- rpc.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpc.php') diff --git a/rpc.php b/rpc.php index 4bb2973..ad80ca5 100644 --- a/rpc.php +++ b/rpc.php @@ -99,6 +99,9 @@ class PHPFSPOT_RPC { else { unset($_SESSION['begin_with']); } + if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo'])) + $_SESSION['last_photo'] = $_GET['last_photo']; + $fspot->showPhotoIndex(); break; -- cgit v1.2.3-18-g5258