DONE

- add/delete photo on "show album" page
- remove all fixed strings (put in DB)
- multilingual photo input
- actually update DB with photo input data
- defaults in photo input text fields
- photo display
- remove fixed settings values (1536, etc.) from code
- photo display based on size
- restructure CVS
- create $this->{sz,lang,photo_id,album_id} and use everywhere
- add constraint to schema so that annos only use defined languages
- refactor: no method longer than 1/2 page
- bug: cannot delete photo that has annotations; remove annos first
- display album title
- preserve language across all pages
- language switch (view in ...)
- navigation (up/prev/next)
- break up album into no more than a configurable number of photos
- cleanup: "caption" vs anno_type["caption"]; use constants instead of strings
- feature: support "no album list" mode
- feature: password login for admin mode
- feature: "jump-to" album page navigation links (like the o's in gooooogle)
- cleanup: no hard-wired strings
- cleanup: simplify photo navigation
- test caching schemes
- test broken urls
- performance: cache labels to decrease DB lookups
- feature: user advanced settings page
  (edit default image size, album_page_len)
- bug: no link back up to album list from album edit page if album is empty
- feature: admin advanced settings page
  (edit image_regex, image_path, album_page_len, admin password)
- cleanup: pass state more cleanly in forms
- bug: duplicate album_id in form when adding new albums
- bug: changing album page size sometimes screws up nav links
- bug: check that user-supplied album_page_len > 0
- feature: search
- bug: hitting submit on forms doesn't move you off
- doc: finish readme file
- test: view in IE
- test: run against w3 html validator
- bug: in photo edit mode, if a text entry box is left blank, we
  automatically (and incorrectly) use the default value in the
  adjacent pulldown
- bug: "remove selected photos" on album edit page removes entire
  album if no photo is selected
- feature: prev/next navigation on album view
- feature: prev/next navigation next to (not just below) photo on
  photo display page

TODO

- better refresh when using back arrow to album list or album edit
  page in admin mode

- feature: allow creation of "slideshows" ("exhibitions", or a better
  name?) that are collections of photos from different albums

- feature: optional photo rating
- feature: optional display of top-rated photos

- performance: page caching
