Fixed loop for images
Merge branch 'master' of github.com:WoltLab/WCF