DAR-2165 | Make an additional conditional to generate only valid thumbna...

...ils with new extension