macOS users can use sips command line tool to resize all images using
sips -Z {image-size} photos/**/*.jpg
Using this, we can keep a separate copy of the original, and load the compressed copy first. The original can then be loaded if the user clicks on an image. The page load speed is much smaller as a result.
macOS users can use
sips
command line tool to resize all images usingsips -Z {image-size} photos/**/*.jpg
Using this, we can keep a separate copy of the original, and load the compressed copy first. The original can then be loaded if the user clicks on an image. The page load speed is much smaller as a result.