Added method to get the type of an image
Merge branch 'master' of github.com:WoltLab/WCF