Fix #1188

https://github.com/mybb/mybb/issues/1188 images not scaled