The sentence is in the past tense and refers to a general rule or instruction given to visitors. The passive voice is used ('were asked'). Therefore, 'were' is the correct word to fill in the blank. Visitors were asked not to take any photos in the museum.