Online photo management system built on MarkLogic Server