Refactor ImageManager to ImageHelper.

1 job for 1468-image-size-tests in 11 minutes and 43 seconds (queued for 4 seconds)