separating image-type detection to separate function /cc @drsnyder
separating image-type detection to separate function /cc @drsnyder

Wikia/vignette,Wikia/vignette,WikiaTeam69Roll/wikia,WikiaTeam69Roll/wikia,WikiaTeam69Roll/wikia,WikiaTeam69Roll/wikia,Wikia/vignette,Wikia/vignette