We should filter here on just .gif images because there is a file called icon-16-language.png in this same folder and becomes an option too. This is also needed for PR #1264 to be able to show the images. It assumes the name in the selector is based on a .gif image.