Added retrieving images from the whole hierarchy when opening a folder