get_level/set_level for gallery