I'll throw in a recommendation for gPhoto; while old and pretty bare bones, it does sane storage structure (customizable, actually), not some silly database. The album export will create static albums you can then upload by hand (or just have them written out to an SSH mount on your web server).