Aria Shaw's Digital Garden | Definitive Business Solutions
Proven guides tackling costly business challenges. Expert playbooks on self-hosting, automation, and digital sovereignty for practical builders & entrepreneurs.
PageSpeed Insights reports oversized images that waste 181.8 KB per page load.
File: Odoo Migration Risk Assessment.webp
Images should be resized to match their display dimensions before upload.
For blog post images displayed in content area (max-width: 650px):
# Using ImageMagick to resize
convert "Odoo Migration Risk Assessment.webp" \
-resize 800x \
-quality 85 \
"Odoo Migration Risk Assessment-optimized.webp"
# Or using cwebp for WebP optimization
cwebp -q 85 -resize 800 0 \
"Odoo Migration Risk Assessment.webp" \
-o "Odoo Migration Risk Assessment-optimized.webp"
#!/bin/bash
# optimize-images.sh
for img in assets/images/*.webp; do
# Get image width
width=$(identify -format "%w" "$img")
# Resize if wider than 800px
if [ "$width" -gt 800 ]; then
echo "Optimizing: $img"
convert "$img" -resize 800x -quality 85 "$img"
fi
done
echo "Optimization complete!"
Before adding new images:
ls -lh
- content images should be <30 KB