An image gallery with automatic page creation on upload, written in Ruby