Results 1 to 2 of 2

Thread: Photo Album Script displays images randomly

  1. #1
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Photo Album Script displays images randomly

    1) Script Title: PHP Photo Album script

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

    3) Describe problem: In the javascript portion in the .htm file it has this code:

    //Sort images by date? ("asc", "desc", or "")
    //"desc" for example causes the newest images to show up first in the gallery
    //"" disables this feature, so images are sorted by file name (default)
    var gsortorder=""


    With this setting, I find that images are only displayed randomly instead of being sorted by filename. Is there a way I can fix this so that it sorts by filename?

  2. #2
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This should be deleted. I found the answer by searching. Here is the same question and problem solved:

    http://www.dynamicdrive.com/forums/s...ht=Photo+Album

    Edit: I will lock and leave this thread here, to help point the way for others
    - js1
    Last edited by jscheuer1; 12-10-2007 at 01:46 PM. Reason: add info

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
  •