set nimages and other attributes on Images at load time