Images are the easiest part of an export site to get wrong and the easiest to fix. The symptoms are consistent: filenames like IMG_2043.jpg, empty ALT text or the phrase product image, files of two or three hundred kilobytes, and pages that take five seconds to load. Fixing it needs no engineering team, only a standard and the discipline to follow it.
Filenames: use the product name
The filename itself is a ranking signal. glass-bottle-250ml.jpg carries far more meaning than IMG_2043.jpg. Follow the same rules as URLs: lowercase, hyphens, English, core keyword, no Chinese characters or spaces. Add specification suffixes for product families to avoid overwriting.
ALT: describe what the image shows
ALT serves two purposes: replacement text when an image fails, and a semantic hint for search engines. Write one natural sentence containing the product name and a key attribute, such as a 250ml clear glass bottle with a metal screw cap for juice filling. Do not stuff keywords, and never reuse one ALT site-wide. Decorative images can have empty ALT.
Format and size: standardise on WebP
WebP is 25-35% smaller than JPEG at equal quality and is supported by every major browser. Convert on upload, keep each file under 100KB, and allow up to 150KB for a hero image. Use Squoosh or TinyPNG at quality 80-85, where differences are usually invisible.
Dimensions and responsiveness: one set of images
Do not build separate image sets for mobile and desktop; maintenance cost doubles. Use one 1200x675 asset with CSS max-width:100%, height:auto and aspect-ratio so the browser scales it. What actually affects experience is file size and decode cost, not pixel dimensions.
Four pre-launch checks
One, inspect the source to confirm every image has width and height attributes, preventing layout shift. Two, confirm images are served through a CDN rather than origin. Three, test first-screen load on a mobile connection. Four, search your product term in Google Images to see whether your assets are indexed. Image search traffic is routinely underestimated.
Compiled by the aibolg team from project practice and public industry material, for reference only.



