working on building galleries for subdirs, not fully working yet.