Get gallery years by folders