resize slideshow images to reduce page weight