Written by appierun
Image weight creeps up quietly. Someone uploads a 3000 pixel PNG straight from a design tool and the CMS shows it at 600 pixels wide. A theme update adds loading="lazy" to every image, including the hero at the top of the page. A gallery block drops the width and height attributes, so the text jumps down as each photo arrives. None of this breaks a page. It just makes it slower and jumpier, one upload at a time. This post builds an image weight auditor in Python using only the standard libra...