Ruby/Sinatra programs to present iPhoto library (or Flagged items in library) on pages of thumbnails