In the Victorian era, people used to say ‘prunes’ instead of ‘cheese’ during photographs to make themselves look more serious as they still followed the habits of painted portraiture subjects.
Source: https://techxplore.com/news/2015-11-cheese-style-curiosity-yearbook-photos.html