Vector or pixel: the export decision rules that decide your page weight
An apple icon: 1 kilobyte as SVG. A small photo: 100 kilobytes minimum. The export choice is a 100× decision made before WordPress even exists.
Two image species exist: pixel (PNG/JPEG — anything shot on a camera) and vector (SVG — anything born digital: icons, illustrations, logos, background blobs, blurs). Vectors stay sharp at any zoom and weigh kilobytes; pixels degrade and weigh hundreds. So the rule: 'when you can use vector... then do it.' Within pixels, PNG only when the image has transparency (cut-outs, rounded corners); otherwise JPEG — more colors, better compression.
The second lever is shadows: exporting a box WITH its drop shadow bakes the shadow into the bitmap and ballooned the demo file 8–9× (23KB vs 180KB). Strip shadows in Figma (or disable 'include bounding box'), export clean, re-add the shadow in Elementor where it's generated code. Third lever: compression and resize — 'destroying the image quality to reduce file size,' targeted at under 300KB for heroes and under 100KB for small images, with a 2× export for retina and a resize pass (a 3000px blog image survives at 25%).
The two-boxes demo: identical boxes exported with and without shadow — 180KB vs 23KB; then the blog image run through the compressor at 60% quality + 25% size: 2.9MB → 122KB, still sharp at blog width.
Every later speed decision (WordPress media settings, Elementor image sizing) assumes images arrive pre-optimized — this is the source discipline.
Export images at the size Figma shows and let WordPress/Elementor optimize them.
Optimization happens BEFORE upload — exact sizes, compression, shadow stripping; the method later disables WordPress's auto-generated sizes entirely.
Compression is basically destroying the image quality to reduce file size.
["Directly applicable to your course site's SVG-only figure discipline — same economics, same reasoning."]
Go deeper
In one line: Export rules: digital art → SVG; photos → pixels; PNG only for transparency, else JPEG; shadows stripped and re-added in the builder; export 2×; compress+resize to <300KB (large) / <100KB (small); rename layers so the media library stays searchable.
'Anything that is shot on a camera is always a pixel image... anything that is digital can be an SVG' (l1425194 02:02)
Shadow-in-export cost demonstrated: 'the difference is massive... almost 10 times the size' (l1425194 08:05)
Compression defined honestly: 'destroying the image quality to reduce file size' (l1425194 10:06)
Naming discipline: six months later the media library search only works 'if you do your naming right' (l1425194 16:09)
Also prepared at export time: the padding values audit (limit to 3 sizes for the later class system) and the CPT/fields shopping list for ACF (l1425194 18:10)
Take your heaviest page, list its images, and reclassify: which are secretly vectors? Which PNGs have no transparency and should be JPEGs?
▶ Watch this taught:
Answer from memory first — the recall attempt is what makes it stick. Then reveal.
When is PNG the right pixel format?
Only when the image needs transparency — cut-out subjects, rounded corners. Square photos go JPEG: more colors, easier compression.
