PDA

View Full Version : need help with PHP Photo Album Script v2.11 using multiple albums



best100
03-14-2014, 12:07 AM
1) Script Title: PHP Photo Album Script v2.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...photoalbum.htm

3) Describe problem: i can't figure out how to implement multiple albums, the second album displays but when i click on an image, it doesn't get bigger. i have added the geralbumpic.php to the folder where the images are

<script type="text/javascript">

new phpimagealbum({
albumvar: album2, //ID of photo album to display (based on getpics.php?id=xxx)
dimensions: [6,1],
sortby: ["date", "desc"], //["file" or "date", "asc" or "desc"]
autodesc: " ", //Auto add a description beneath each picture? (use keyword %i for image position, %d for image date)
showsourceorder: false, //Show source order of each picture? (helpful during set up stage)
onphotoclick:function(thumbref, thumbindex, thumbfilename){
thumbnailviewer.loadimage(thumbfilename, "fit2screen")

}
})

</script>