image resolution is now calculated