Reducing the image sizes