Different Layout in different folders

Hello there,
I'm struggling with some problem, so I decided to ask for help.
Is there a way to automatically open different layouts for different folders?
For example:
I have a "photos" folder, and when I enter this one (via Folder tree) - DO shows Metdata and preview panels.
When I open any other folder - Metadata and preview panels will be off.

I've prepared two different layouts (save as two different Listers) but I don't know if there is possibility to "assign" specific layout to folder.

I will be gratefull for any tips.
Thank you very much

Could be done via scripting (OnAfterFolderChange event) but there's nothing built-in to turn panels on and off when changing folders. (You can turn toolbars on and off, and change the view mode and columns, but not panels).