Files:
getalbumpics.php
ddphpalbum.js
ddphpalbum.css
289321-R1-05-5.jpg
289321-R1-04-4.jpg
289321-R1-03-3.jpg
289321-R1-02-2.jpg
289321-R1-01-1.jpg
289321-R1-00-0.jpg
saigon/
289321-R1-09-9.jpg
289321-R1-01-1.jpg
289321-R1-02-2.jpg
289321-R1-03-3.jpg
289321-R1-04-4.jpg
289321-R1-05-5.jpg
289321-R1-06-6.jpg
289321-R1-07-7.jpg
289321-R1-08-8.jpg
...
289322-R1-10-10.jpg
289322-R1-11-11.jpg
289322-R1-12-12.jpg
289322-R1-13-13.jpg
289322-R1-14-14.jpg
289322-R1-15-15.jpg
289322-R1-16-16.jpg
terry.html
terry.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="../getalbumpics.php?id=saigon"></script>
<script type="text/javascript">
//Optional, manual description for particular pictures inside album
//Syntax: albumid.desc[index]="Picture description here"
//eg: myvacation.desc[2]="This is description for the 3rd picture in the album"
//eg: myvacation.desc[6]="This is description for the 7th picture in the album"
</script>
<script type="text/javascript" src="../ddphpalbum.js">
/***********************************************
* PHP Photo Album script v2.0- (c) Dynamic Drive DHTML code library (
www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at
http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<link rel="stylesheet" type="text/css" href="../ddphpalbum.css" />
<style type="text/css">
@import url(../font_styles.css);
div.lpxcenterpageouter { text-align: center; position: absolute; top: 0px; left: 0px; width: 100% }
div.lpxcenterpageinner { position: relative; margin: 0 auto; text-align: left; width: 790px; }
</style>
</head>
<body onUnload="" alink="#6633CC" onLoad="" id="element1" link="#3333CC" bgcolor="#BEC4FD" scroll="auto" vlink="#6633CC">
Photos by Terry Romine
<div style="border: thin solid blue; width:600px;">
<script type="text/javascript">
new phpimagealbum({
albumvar: saigon, //ID of photo album to display (based on getpics.php?id=xxx)
dimensions: [3,2],
sortby: ["file", "asc"], //["file" or "date", "asc" or "desc"]
autodesc: "Photo %i", //Auto add a description beneath each picture? (use keyword %i for image position, %d for image date)
showsourceorder: true, //Show source order of each picture? (helpful during set up stage)
onphotoclick:function(thumbref, thumbindex, thumbfilename){
thumbnailviewer.loadimage(thumbref.src, "fit2screen")
}
})
</script>
</div>
</body>
</html>
Bookmarks