Display thumbnails toggle by folder

You can use Folder Formats to change view modes* in different folders.

(*And columns, if you mean the Thumbnails column while in Details mode rather than Thumbnails mode itself.)

Best places to start to learn how they work: