You are here: Home » Examples

Multiple Albums example

This exmaple shows how to use GRSlideShow for multiple albums. Every directory under current dir is an album. Script must be located in the parent directory of all albums.

Source code:

<?php
	include ("GRSlideShow.php");
	AutoGRSlideShow();
?>


Single Album example

This exmaple shows how to use GRSlideShow for one album only, without the main menu for multiple albums. In this example the images are located in directory 'dir1'

Source code:

<?php
	include ("GRSlideShow.php");
	ShowSingleAlbum("dir1");
?>


Admin Page example

Take a look at the Admin Page Demo and see what can be configured with GRSlideShow. Since this is a demo, so you can not save your configuration changes.

The Admin page in any GRSlideshow script can be rached by adding admin=1 to the URL. Example: my-pictures.php?admin=1 where my-pictures.php can be any script form the examples in this page.

Embedded Slide Show example

The example you see on the left is a slideshow that is embedded in a web page. The page is not reloading, and the image are rotating automatically. In this example the images are located in directory 'dir1'




Source code:
<html>
<body>
This is just anotehr web page.
<?php
	include ("GRSlideShow.php");
	embeddedSlideShow("dir1");
?>
some more html here
</body>
</html>