SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Central Point
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbnail Displayer script

    I was going through the PHP Anthology and ran across the thumbnail section and decided that I needed to replace the annoying Coppermine gallery I was using for my pics. Using the examples given in the book I made it a little more far reaching, but still just as easy to use.

    http://mebcentral.com/ss/thumbindex.txt
    http://mebcentral.com/ss/ssindex.php (the one I setup for some screenshots if you want to see it)


    What it now does:
    1) You specify every folder you want indexed
    2) Creates links to each subfolder's index at the top of the page
    3) Links to each large image from the thumbnails
    4) Verifies that the folder listed in _GET is also specified in the script
    5) Is one file that covers every subfolder you want, with only one thing to config

    As far as I know everything works, or at least I havenít had any problems.
    This can be pretty useful given how easy it is to setup etc, no MySQL or anything like that. Most of the "real" code is from the book and it's easy to do, but I figured I would share it anyways. Feel free to comment on my newbie php/html skills however, as I'm sure I could have done something better.

  2. #2
    SitePoint Zealot
    Join Date
    Jan 2005
    Location
    ble
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sweet man, this is one nice script.. Did you upgrade it from yours/a different script then?

    I really do like it, and I admire you '''skillz''' hehehe
    If someone was helpful, give them some 'rep'.

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    Central Point
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I upgraded the one in PHP Anthology, sorry guess I didn't say that right hehe. The class and most of the meat of the script were already in the book.


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
  •