diff -ru dam.orig/lib/class.tx_dam_iterator_dir.php dam.new/lib/class.tx_dam_iterator_dir.php --- dam.orig/lib/class.tx_dam_iterator_dir.php 2010-05-03 16:14:48.000000000 +0200 +++ dam.new/lib/class.tx_dam_iterator_dir.php 2010-05-03 17:28:21.000000000 +0200 @@ -415,6 +415,12 @@ } elseif($type === 'dir' OR $type === 'link') { $fileInfo = tx_dam::path_compileInfo($filepath); + + $aExplode = explode('/', $filepath); + end($aExplode); + $fileInfo['dir_name'] = current($aExplode); + + $fileInfo['dir_title'] = $fileInfo['dir_name']; } // the file is valid so we add it to the list $this->entries[] = $fileInfo;