resize and optimize 10 images for the web