Andre C
02-11-2009, 09:10 PM
Hi,
If I have many images in a file on my server, is there any way to view them as thumbnails instead of clicking on every single image link?
ILT- Adam
02-11-2009, 11:24 PM
http://www.bitfolge.de/snif-en.html
Try that, looks to be what your after.
Andre C
02-12-2009, 01:29 AM
Are there any other ones? This one seems to have a bit of bugs. The thumbnails aren't showing and whenever the index.php is executed, the server goes down for a few seconds.
Andre C
02-16-2009, 01:31 PM
Actually, it could even help if there is a script like
http://highslide.com/
but without having a direct link to the image file.
Like a script that will catch all the images in a folder.
Steve_Arm
02-16-2009, 01:35 PM
That's because it generates the thumbnails, if not each time, once you call the page. Whatever script you use it will have to create the thumbs, so expect to
have a little bogging. how about one that just shows the image scaled down?
Again you will wait for it download the huge images.
Are there any other ones? This one seems to have a bit of bugs. The thumbnails aren't showing and whenever the index.php is executed, the server goes down for a few seconds.
Andre C
02-16-2009, 01:42 PM
I would be interested in one that shows the images scaled down. Like a modified version of http://highslide.com/. Except the only problem with HighSlide is that you would have to put the link to every image into it. It would be perfect if it automatically catched all the images in a folder.
Steve_Arm
02-16-2009, 01:44 PM
Try this little snippet I digged out, put it in the folder as index.php:
$w = 140;
$str = '';
if ($dh = opendir(@realpath(dirname(__FILE__).'/'))))
{
while (($file = readdir($dh)) !== false)
{
if (preg_match('/^.*\.(jpg|jpeg)$/i', $file))
$str .= '<img src="'.$file.'" alt="" style="margin: 10px;width: '.$w.'px;" />';
}
closedir($dh);
}
echo $str;