DAR-2165 | Make an additional conditional to generate only valid thumbnails with new extension
DAR-2165 | Extract method
Merge pull request #1615 from Wikia/DAR-2165-v2

DAR-2165