functionslideshow gets all files in folder and makes a slideshow of them for you.
var identifier expects any value, but numbers are very recommended.
string folder expects a folder name such as "slideshow" which will then lead to "./img/slideshow/**" and read all images inside.
bool show_controls_arrow and show_controls_dots expect a true/false. This will turn on or off corresponding controls (dots, or arrows).
int time expects a number in [ms]. If this number is zero, then it won't be timed.
string effect expects an effect name. Currently only "fade" or nothing ("") can be used, but more could be set up in the "slideshow.css" for the current template and then be used in this function.
If the slideshow fails to generate its cache file, it returns -1. This can be caused by missing, or empty folder, etc.
This has to be used only once per page max. Having more will cause an error.
Images in slideshow are loaded from a folder. This should contain for each image a "*.kstr" file with the same name as an image. This file gets loaded and its contents will get shown as description of image when shown in slideshow!
<?php slideshow(0,"gallery",true,true,15000,"fade"); //("" - empty parameter 'folder' leads to "./img/", but in this case goes to "./img/gallery/") ?>