Results 1 to 3 of 3

Thread: PHP Photo Album script v2.11 doesn't work

  1. #1
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP Photo Album script v2.11 doesn't work

    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 just simply cannot get this to work. I did look at other posts on this subject on this forum and did try the new ddphpalbum_obj_desc.js
    file. Still no go! Since it should do almost exactly what I want to do on my website I would really appreciate any help. My test page can be seen at http://internationalhibiscussociety..../gallery3.html

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ooops! What a dumb mistake! It works great now! Thanks loads for the help!!!

Similar Threads

  1. Getting Photo Album v 2.11 to work on my website
    By jeanine in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 12-11-2009, 10:06 PM
  2. Add Photo Title to PHP Photo Album Script
    By EdgeAgain in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-27-2009, 11:31 PM
  3. Replies: 12
    Last Post: 08-14-2009, 07:35 AM
  4. Getting .SWFs to work in PHP Photo Album
    By sany in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-23-2008, 05:07 PM
  5. DD PHP Photo Album script - photo descrip
    By aavaughan in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 09-13-2007, 12:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •