gallery view and admin controls