Use first images from children no matter the depth to generate thumbnails
If the generate_thumbnails script used the recursive parameter, we could always get the first few images (no polygon handling) and create a thumbnail even for folders containing folders