Sure why not? But they would still need ftp or some sort of access to upload the images. And if you want descriptions and/or links it could get a little complicated because except in very limited ways there isn't anything intrinsic about the image files themselves that could provide that information.
There are various ways to set this up. If your page with the slideshow on it is a .php page, you can do this (completely replacing the imagearray entry with PHP code that generates it):
Code:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "slideshow",
dimensions: [213, 101],
<?php
function returnimages(){
$dirname = './pics/';
$pattern = '#\.(jpg|jpeg|png|gif|bmp)$#i';
$files = array();
if($handle = opendir($dirname)){
while(($file = readdir($handle)) !== false){
if(preg_match($pattern, $file)){
array_push($files, "\t\t['" . $dirname . $file . "', '', '']");
}
}
closedir($handle);
}
return "\timagearray: [\n" . implode(",\n", $files) . "\n\t],\n";
}
echo returnimages();
?>
displaymode: {type:'auto', pause:8500, cycles:0, wraparound:false, randomize:true},
persist: false,
fadeduration: 2000,
descreveal: "ondemand",
togglerid: ""
})
</script>
Notice the highlighted line, that's the folder that you want it to look in for images. The . represents the current folder - the one that the page with the slideshow on it is in.
Bookmarks