support for directories without images