fixed thumb and art handling for directories