Developer's Page

This is a page with random developer info for GTPhoto

Source Code

VersionRelease DateFile
0.1 AlphaApril 6, 2002photoalbum-0.1-alpha.tar.gz
0.2 AlphaApril 15, 2002photoalbum-0.2-alpha.tar.gz
0.5 BetaMay 26, 2002photoalbum-0.5-beta.tar.gz
0.6 BetaJune 26, 2002gtphoto-0.6-beta.tar.gz
0.7 BetaJuly 27, 2002gtphoto-0.7-beta.tar.gz
0.8 BetaOctober 28, 2002gtphoto-0.8-beta.tar.gz
0.9 BetaJanuary 26, 2003gtphoto-0.9-beta.tar.gz
1.0September 13, 2003gtphoto-1.0.tar.gz
1.0.1January 18, 2004gtphoto-1.0.1.tar.gz

You can also view the current source code at the Source Code Viewer

License

This software is distributed under the GNU General Public License.

GTPhoto Version 1.0.1, Copyright (C) 2002-2004 Chris Kloosterman
GTPhoto comes with ABSOLUTELY NO WARRANTY; for details see the GNU General Public License
This is free software, and you are welcome to redistribute it
under certain conditions; see GNU General Public License

Database Schema

Click Here to view the current database schema for photo album

Line Count

Click Here to view the official line count for photo album

Browser Compatibility

GTPhoto is highly optimized for version 4.0 and higher browsers. With lower versioned browsers, pages may not look like they were intended, or may not even display at all. Here is the list of browsers we have tested so far:

BrowserPlatformVersionCompatibilityDetails
NetscapeWindows7.xYes 
 Windows6.xYes 
 Mac6.xYes 
 Linux6.xYes 
 Windows4.xPossibly notCss problems?
 Windows3.x and lowerNoNo CSS support
Internet ExplorerWindows6.xYes 
 Windows5.xYes 
 Mac5.xYes 
 Windows4.xYes 
 Windows3.x and lowerNoSidebar issues
CSS Issues
MozillaWindows1.xYes 
 Mac1.xYes 
 Linux1.xYes 
OperaWindows7.xYes 
 Windows6.xYes 
 Windows5.xNoForm validation problems
KonquerorLinux3.xYes 
NautilusLinux2.0.5NoNo form submissions
LynxLinux2.8.5NoPictures don't display ;)

RoadMap

MilestoneTo Do
2.0

Work on GTPhoto 2 has begun. Minimal effort will be put into maintaining the legacy 1.0 branch.

  • GTPhoto 2 (complete rewrite of the source code)
  • Multiserver support
  • Paid accounts implementation
  • Payment implementation
  • Sub Albums
  • Style revamp
  • Zero Javascript
  • Many more user customizable options

Bugs

You can file bugs and view our progress at Gavintech Bugzilla.

ChangeLog

VersionChanges
1.0.2
  • Fixed a problem that allowed non-paid users to link pictures off-site
  • Added more referrers for showphoto.php
  • Obfuscated email address in source view
  • Added an option to move deleted photos to a separate directory rather than unlinking them
1.0.1
  • Fixed incorrect photo name in reply comment email
  • Left aligned comment view in IE
  • Removed ViewPass from comment emails
  • Add vote/photo and view/photo ratios to competition page
  • Update signup page regarding free email accounts
  • Make caption box bigger in admin view
  • Implement 'put this photo is a blog' feature
  • Fix spiders voting for pictures
  • Remove password display after signup
  • Remove blog thumbnail for ALL or NONE albums (bug 48)
1.0
  • Made the outgoing fron email address a global variable
  • Added nautilus to web browser compatability list
  • Updated credits
  • Changed su.php to display 20 log items
  • Updated some aspects of setupserver.txt
  • Changed voting system
  • Updated schema to reflect database changes
  • Created showphoto.php
  • Protected photos behind showphoto.php script
  • Protected thumbnails behind showphoto.php script
  • Changed upload to work with hidden pictures
  • Fixed space between error message and input in view.php
  • Fixed a spelling mistake
  • Removed best/worst photos from competitions - no longer needed
  • Added a content-type header to showphoto.php
  • Fixed a security hole in showphoto.php (not passing in an album results in no password protection)
  • Fixed super user's page with changed media directory
  • Fixed showphoto when viewing album ALL or NONE
  • Updated browser compatibility list and roadmap
  • Fixed sidebar issue in Mozilla (headers not shown)
  • Left aligned album listing in IE
  • Added bugzilla link in developers page
  • Made GTPhoto XHTML 1.0 Transitional compliant
  • Fixed user logging out when going to the signup page
  • Updated schema with a pretty dia diagram
  • Added navigation links to manage.php
  • Broke up SQL statements into manageable chunks
  • Fixed batch upload click here link
  • Added a tutorial and set up signup to link to it on page and in email
  • Updated server documentation
  • Fixed a url problem for ip based servers
  • Fixed javascript in IE killing headers
  • Made stats page a configurable variable
  • Made checking out gtphoto cvs not clobber vars.php (vars.php-dist)
  • Hid vars.php from source code view, only show vars.php-dist
  • Fixed cancel delete user from super users page
  • Fixed font problem in su.php
  • Purge album implemented (bug 2)
  • Time limit exceeded on batch uploads resolved (bug 3)
  • Download album doesn't work fixed (bug 27)
  • Update RoadMap to reflect no version 1.1
  • Remove vars.php from line counter (add vars.php-dist)
  • Allow <img> tags linking directly to photos for paid+ users
  • Update documentation
  • Update roadmap
  • Sorted batch uploads by filename (bug 1)
0.9 Beta
  • Moved uploads over to storing size in DB
  • Changed competition over to size from DB
  • Changed usersize function over to size from DB
  • New file: view.php for viewing an album
  • Changed incorrect account redirect to point to view.php
  • Changed index.php into a solely introduction page
  • Added nav links to the index page
  • Added time estimations to upload page
  • Fixed usersize when user has no pictures
  • Added display of ratings to album view
  • Added vote competition
  • Implemented voting
  • Changed voting scale to 0-10
  • Added tracking by IP for users who have already voted
  • Added display of what the IP chose if already voted
  • Added best/worst pictures to the competition page
  • Updated delete user function to delete votes
  • Updated the database schema to reflect recent db changes
  • Increased navigability in the forum module
  • Fixed display of voting when in forum module
  • Removed section to create user folders, use mod_rewrite instead
  • Fixed gtphoto at the root of server problem
  • Added copyright statement to the footer of each page
  • Fixed an enlarge bug where footer was output twice
  • Fixed hard coded path in album.zip
  • Added source code viewer
  • Added links to source code viewer in lines.php and developer.php
  • Alphabetized line count
  • Added line numbers to source code viewer
  • Added username recovery
  • Altered the procedure for batch uploads
  • Added MaxHeight in database and added capability to change it
  • Added AutoResize for height in single photo upload mode (no batches yet)
  • Commented source.php
  • Fixed album.zip to use server_directory rather than web_directory
  • Added 2003 to copyright statement
  • Altered log activity to send to database instead of flat file
  • Updated batch upload to display progress (flush output buffer)
  • Updated super user page to display databased log - flat file now obsolete
  • Updated gentar to include new files created in this release
  • Updated schema to reflect log tables
  • Wrote new upload functions to replace horrid old system
  • Modified single upload to use upload functions
  • Removed legacy logout code
  • Modified batch upload to use upload functions
  • Updated the mysqltablescript in server docs
0.8 Beta
  • Made delete user script work (finally!)
  • Fixed an account updating problem
  • Fixed exotic page 216 of 5 problem (incorrect offset)
  • Made competitions page more efficient (fewer selects)
  • Fixed question page problem (nav link not passing viewpass)
  • Added more browsers to browser compatability
  • Fixed delete album listing everyone's albums (thanks James!)
  • Created a data integrity checker page
  • Fixed a problem with ViewPass not carrying over when viewing comments
  • Fixed next/previous photo order with priority problem (thanks Micah!)
  • Fixed viewing an album that doesn't exist
  • Fixed a bug where next and previous photo were displayed when viewing a photo at the beginning or the end of an album but was in more than one album
  • Increased navigability of the enlarged photo view
  • Increased navigability of the album view
  • Added album modification page
  • Fixed some spelling mistakes
  • Made the integrity checker delete files that have no corresponding db entry
  • Started to work on SSL encryption for login
  • Temporarily fixed comment emailing (needs better fix later)
  • Added confirmation on user delete in superuser page
  • Removed ssl encryption from login page (will be implemented in version 2)
  • Updated database schema reflecting recent changes
0.7 Beta
  • Modified CSS to make normal and sidebar links look much better
  • Added (optional) server side logging
  • Made logo a link to http://www.gavintech.com
  • Fixed JS errors from Netscape 4.x
  • Fixed signup.php not showing in Netscape 4.x (no footer)
  • Fixed sidebar in Netscape 4.x and Opera 6.x
  • Tested a whole bunch more browsers
  • Fixed separate sidebar problem with IE 4.x
  • Added statistics to the super user page (num albums, num photos, num megabytes)
  • Fixed netscape photo enlarge display problem (unclosed table)
  • Fixed various logging problems
  • (BIG)Modified database structure for one database only
  • (BIG)Modified data storage structure for one folder only
  • (BIG)Updated scripts to reflect changes in above two items
  • Repaired dirsize function
  • Altered list order of upload photos album drop down
0.6 Beta
  • Fixed major problem with commenting - IP wasn't being tracked because of superglobal moveover
  • Fixed a few things using localhost instead of IP address
  • Added a note to the comment forms stating that IP address will be logged
  • Fixed a link error with uploading
  • Added automatic resize to batch uploads (oops!)
  • Fixed a bug created when I enabled autoresize for batch uploads
  • Fixed bogus file upload (spit out error instead of creating null db entries)
  • Fixed small bug with uploading to unsorted pictures (album=NONE now)
  • Modified default behavior with enlarging photos as super user: now modify by default
  • Fixed a problem with offset not being carried over when deleting a picture
  • Added handler to check if you've just deleted last photo on page (ex photo #9) and need to go back one page when going back to album (offset off by 8)
  • Big: Modified album to use globals for commonly used paths and links, I'm sure lots of stuff broke
  • Fixed broken printsuperusertasks function
  • Fixed unrelated counter bug in passprotect.php
  • Made a bit of stuff prettier with the $web_directory variable
  • Fixed signup script to use new config variables, and to spit out compliant pages
  • Added capability to delete users from super users page
  • Fixed a problem with sidebar that caused it not to display page specific links
  • Fixed a comment counting problem
  • Fixed a display issue with non highlighted comments (large text)
  • Made code a little more portable to different servers
  • Fixed a problem with comment email notification
  • Fixed an IE specific sidebar display problem
  • Implemented slideshow effect when enlarging a photo (next/previous photo - only for "normal" albums)
  • Implemented slideshow for the ALL album exception
  • Implemented slideshow for the NONE album exception
  • Fixed ALL album exception for slideshow
  • Fixed incorrect offset problem (chop down to previous multiple of 8)
  • Fixed negative offset problem
  • Fixed back to album problem introduced with slideshow
  • BIG: Removed dependancy on cookies from Photo Album (which also made the auth error messages work properly)
  • Added checking for paid users
  • Added the capability to modify autoresize options for paid, permanent and god accounts (basic autoresize disabling as it was before is now gone for free accounts)
  • Added capability to download a zipfile containing all photos in an album for paid, permanent and god accounts (view an album, then click download album in sidebar)
  • Added line count link to developer's page (previously unlinked)
  • Changed all instances of old name (Photo Album) to GTPhoto
  • Removed countless unnecessary <BR>'s
  • Added browser compatibility
  • Changed default account creation to AccountType 4 (free)
  • Implemented GNU General Public License
0.5 Beta
  • Changed UserName back to post and get instead of cookie
  • Removed reliance on global get, post, and cookie variables, instead scripts now use the HTTP_*_VARS variables
  • Implemented sidebars on most pages
  • Recompiled for PHP 4.2.0 support and removed global variables
  • Changed over from using HTTP_*_VARS (deprecated) to $_* (eg. $_GET)
  • Implemented a stylesheet to make Photo Album look like GAVINtech
  • Fixed a photo uploading problem
  • Made user name case insensitive (by making it lower case before doing anything with it)
  • Fixed the sidebar not going down to the bottom of the page problem
  • Cleaned up HTML source generated by the sidebar function (printheader)
  • Added a competition page
  • Added more categories to the competition page
  • Added a super user page
  • Added the ability to log in as any user to super user page
  • Changed over schema.txt to schema.php and added a sidebar... took a shortcut and used <PRE> for now :P
  • Wrote a simple installation procedure for implementing a photo album on another machine
  • Added an option to automatically resize incoming photos down to 640 pixels wide (and corresponding height) if over that size to make album prettier
  • Added a special sidebar entry for enlarge.php
  • Moved commenting links in enlarge.php over to sidebar (special cases like posting and replying)
  • Fixed display problem with comments (they were centered, now they're in a centered table aligned left in their cell - looks better and heirarchy works better)
  • Moved account usage to its own sidebar item
  • Fixed wrong colour text in specific highlighting case for viewing a comment (it was black)
  • Fixed a small problem with entering an account password as a view password (cookie wasn't being set)
  • Fixed mistake with previous fix (wasn't getting encrypted version of password sometimes), and a mistake with the fix to the fix :S
  • Fixed some upload bugs (with offset variable)
  • Fixed more upload bugs, this time with the album variable
  • Added a "view all albums" link to the enlarge view page
  • Fixed a big problem with new signups: thumbnail directory wasn't created
  • Updated all pages so that they get a username/password (if passed) regardless of needing authentication
  • All sidebar links now pass username, should eliminate users having to re sign in when going to unauthenticated pages, while still not needing username cookie
  • Fixed sidebar so if you're logged in you can see the user tasks even if the page isn't super user authenticated
  • Fixed super user login page so that error feedback is more accurate
  • (big) Added ask a question page (302 lines)
  • Updated question page to record the number of questions a user answers
  • Updated competitions page to show top 5 users for questions answered
  • Updated FAQ to reflect recent changes
  • Implemented filtering so that images are only displayed when linked from my server (to conserve bandwidth)
  • Post coding commented all new sections of code
0.2 Alpha
  • Added (x views) to album listing
  • Added album selection to uploading (primarily for batch uploads)
  • Various grammar and spelling fixes
  • Gave db admin access to all accounts (login via encrypted password)
  • Added a password change utility
  • Added global view password for viewing a photo album
  • Modified password changer so that you can't have a blank password
  • Updated FAQ to include view password
  • Updated Schema to include view password (also for per-album viewpass)
  • Moved administration over to cookie-based login
  • Moved viewing over to cookie-based login
  • Merged view pictures (enlarge.php) and part of modify pictures
  • Removed "Unsorted Pictures" album from album listing, except when you're a super user
  • Fixed view rules for ALL album (need view password if *any* other album requires a view password)
  • Added Password Protect link in the Admin page
  • Fixed comments with no name or no title (subject)
  • Changed jpegs over to thumbnails on the album view to reduce bandwidth usage
  • Recompiled PHP to use GD 2.0, so I can use an imagecopyresample instead of an imagecopyresize
  • Changed imagecreate to imagecreatetruecolor to make true colour thumbnails instead of 256 colour ones
  • Got rudimentary javascript form checking in place - thanks, Apple, you made my job much easier :O
  • Added the ability to delete and restore comments using tree tombstoning
  • Added priorities so photos can be positioned nearer to the front using a high number and nearer to the back using a low number
0.1 Alpha
  • First version, therefore everything!

Credits

People who have worked or contributed to photo album:

Primary Developers

Chris Kloosterman

Contributors

James Deck
Micah Best

Testers (by username)

brandon
sunsirrah
sir_jeff
air_ica
garnet
reservoir_frog
atomic_newt
nav
mamiko
simms327
test (Chris Kloosterman's test account)

 

©2002-2006 Gavintech Solutions