View Single Post
  #14   Spotlight this post!  
Unread 19-06-2009, 22:19
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Website Photo Gallery

If you want something REALLY slick, you could do a custom PHP/MySQL/Ajax viewer like the one I am currently working on for my team: http://dotcat451.hopto.org:9898/dae/media/
Basicly, when the first request is sent, PHP looks up the year and album, and page (if avalible) and outputs that, along with a small JS file, to make a page that is about 50Kb. when you have JS enabled, it sends a request, and recieves just the new center, about 12K, and adds to the back history. if you dont have JS, then it just reloads teh entire page. It is also 2 way bookmarkable: the #2 for page 2 or Page2 or Page3#2 for initialy loading 3 with php then JS loading 2. If you want something like that, PM me and I will be happy to give you the code.

PS. this is on my test server at home, as you can see from the funky port, so it may not be up
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib