diff --git a/index.php b/index.php index 01877eb..15f7039 100644 --- a/index.php +++ b/index.php @@ -74,7 +74,7 @@ $data['last_page'] = ceil(count($files)/$slice); // Prepare Mode Specific Data and Render Template if ($slice > 1) { foreach ($curfiles as $index => $image) { - print_r($index."\n"); + print_r($image."\n"); $tmp['n'] = $image; $tmp['i'] = $index+1; $tmp['t'] = $thumburl.$t->get_thumb($image);