fix #3 Tree view for indexing image files and dirs