use webp when possible, otherwise don't change extension
one var too many
spaces
Merge pull request #214 from Wikia/HG-170-Transparency-in-images

Hg 170 transparency in images