Placing drop-down fields in each square of a grid image