Standards for product image file naming, sizes, and formats.
{cs-sku}-{type}-{sequence}.{ext}
rbp-0001-hero-01.webp ← Hero/featured image
rbp-0001-gallery-01.webp ← Gallery image 1
rbp-0001-gallery-02.webp ← Gallery image 2
rbp-0001-supplier-01.jpg ← Original supplier image (archive)
hero, gallery, supplier, diagram, spec-sheet.webp for web-optimized, .jpg for archives, .png for diagrams| Type | Purpose | Count | Format |
|---|---|---|---|
hero |
Featured/thumbnail image | 1 per product | WebP |
gallery |
Additional product views | 2–6 per product | WebP |
supplier |
Original supplier images (archive only) | Any | JPG/PNG |
diagram |
Technical diagrams, schematics | As needed | PNG |
spec-sheet |
Specification sheet scans | As needed | PDF/PNG |
| Context | Min Size | Recommended | Max File Size |
|---|---|---|---|
| Hero image | 800×800 | 1200×1200 | 500 KB |
| Gallery image | 800×800 | 1200×1200 | 500 KB |
| Thumbnail | 300×300 | 600×600 | 100 KB |
| Supplier archive | No minimum | Original size | No limit |
| Location | Purpose |
|---|---|
| WooCommerce Media Library | Live product images (hero + gallery) |
ScienceGraph /data/supplier-archive/{supplier}/ |
Archived supplier source images |
This repo supplier-archive/galleries/ |
Image metadata + API links (not actual images) |
Ansel (image pipeline tool) handles:
See TOOLS/TOOL_REGISTRY.md → Ansel for full documentation.