adjustment to image sizes