There could also be other problems. But the getalbumspics.php file isn't being used by the page because the ddphpalbum.js tag has no closing </script> tag so is using the getpics script's and ignoring the grtpics script, and:
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
To take care of all of that, change:
Code:
<script type="text/javascript" src="js/ddphpalbum.js">
<script type="text/javascript" src="pics/getalbumpics.php?id=myvacation"></script>
to:
Code:
<script type="text/javascript" src="js/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>
<script type="text/javascript" src="pics/getalbumpics.php?id=myvacation"></script>
If you're worried about HTML 5 validation of the comment, the validator is wrong about that, it's valid. But you can make the validator happy by adding the red slashes as shown:
Code:
<script type="text/javascript" src="js/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>
<script type="text/javascript" src="pics/getalbumpics.php?id=myvacation"></script>
The getpics file looks like it's working, so the above might be the only problems.
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks