Modified gallery table and view.