Add a give-up mechanism in dir thumb creation
Add a give-up mechanism in dir thumb creation

Implement a mechanism to avoid spending a long time traversing
directories which do not contain any images while attempting to
create a thumbnail for them.

mfnch/immagine