2nd part of gallery/images rebuild. slightly less broken
missed the setting change