2.15 Optimize images for sustainability
Ensure images, if required, are optimized, correctly formatted, and sized, with lazy loading as appropriate, and are managed effectively.
Criteria
- Need for images: Machine-testable
Do not include images unless they provide positive value. Consider the quantity, format, and sizes required.- 20 ways to make your website more energy efficient
- GPF – General Policy Framework (PDF) – 5.1 – Content (Image Suitability)
- GR491 – 2-4009 – Meaningful Images
- GR491 – 2-4010 – Image Avoidance
- GR491 – 2-4011 – Text Replacement
- GreenIT – 023 – Use CSS instead of images
- GreenIT – 030 – Prefer glyphs over images
- The Carbon Impact of Web Standards (PDF)
- Use multimedia wisely
- Web Almanac: Sustainability
- Optimized images: Machine-testable
Resize, optimize, and compress each image. Provide images in appropriate sizes for different screen resolutions.- 20 ways to make your website more energy efficient
- Avoid Large Base64 data URLs in HTML and CSS
- Dithering Images
- Fast load times: Optimize Your Images
- GPF – General Policy Framework (PDF) – 4.7 – UX and UI (Media Choices)
- GPF – General Policy Framework (PDF) – 5.2 – Content (Image Compression)
- GPF – General Policy Framework (PDF) – 5.7 – Content (File Size Reduction)
- GR491 – 2-4008 – Image Compression
- GR491 – 7-5050 – Sizes and Formats
- GR491 – 7-5053 – Convert and Resize
- GR491 – 7-5054 – File Compression
- GR491 – 8-3061 – Optimized Images
- Greening The Web: A Study On Low-Carbon Image Formats
- GreenIT – 036 – Optimize vector images
- GreenIT – 080 – Optimized images
- How can we design sustainably?
- How to Build a Low-tech Website?
- How To Efficiently Encode Images On Your Website
- How to Optimized images for Faster Load Times and Sustainability
- How to Properly Size Images to Improve Core Web Vitals
- How UX design can help tackle climate change
- Image Carbon
- Learn Images
- Modern way of serving images
- My solar-powered and self-hosted website
- Optimize multimedia files
- Power consumption of JPEG, WebP, and AVIF
- Practical SVG
- Reduce the weight of a web page: which elements have the greatest impact?
- Sustainable UX is more than reducing your website’s footprint
- Sustainable Web Design
- Tips for Creating and Exporting Better SVGs for the Web
- UI Tools
- Understanding and Mitigating Webpage Data Bloat: Causes and Preventive Measures (PDF)
- WebP vs AVIF – Which is better in 2024?
- Web Almanac: Sustainability
- Which SVG technique performs best for way too many icons?
- Why Web Designers Need To Think About Sustainable Web Design
- World Wide Waste
- Lazy loading: Machine-testable
Include lazy loading to ensure images only load when they are required.- Avoid hotlinking images with Cross-Origin-Resource-Policy
- Fast load times: Optimize Your Images
- GPF – General Policy Framework (PDF) – 4.1 – UX and UI (Autoplay)
- GR491 – 9-5068 – Lazy Loading
- GreenIT – 037 – Use lazy loading
- How to Defer Offscreen Images and Background Images
- Lazy Load Background Images with the IntersectionObserver API
- Lazy load third-party resources with facades
- Lazy loading (Wikipedia)
- Lazy loading (Performance)
- Web Almanac: Sustainability
- Sizing and deactivation: Machine-testable
Provide the option for images to be disabled or provide a low-fidelity alternative.- Fast load times: Optimize Your Images
- Focus Mode
- GPF – General Policy Framework (PDF) – 4.1 – UX and UI (Autoplay)
- GPF – General Policy Framework (PDF) – 6.4 – Front-End (Image Dimensions)
- GR491 – 2-4010 – Image Avoidance
- GR491 – 7-5050 – Sizes and Formats
- GR491 – 7-5053 – Convert and Resize
- GreenIT – 034 – Avoid resizing images in the browser
- How to Optimized images for Faster Load Times and Sustainability
- OpQuast – 114 – Thumbnails and previews are not larger images resized on the client side.
- Image management and use: Machine-testable
Set up a media management and use policy to reduce the overall impact of images. Include criteria for media compression and file formats.- GPF – General Policy Framework (PDF) – 1.9 – Strategy (Interoperable Technologies)
- GPF – General Policy Framework (PDF) – 4.7 – UX and UI (Media Choices)
- GPF – General Policy Framework (PDF) – 5.1 – Content (Image Suitability)
- GR491 – 8-3057 – Media Management
- Green by Default
- Image management
- Optimized images to Improve Sustainability
- Tips for Effective Image Management on Your Site
Benefits
- Economic
Optimizing resources means users with data caps can preserve their resources. Providers can enjoy reduced hosting costs due to less data being transferred. - Environment
Compressing and delivering images in lightweight formats can reduce the hardware burden on older devices. This can reduce overall consumer e-waste by slowing or eliminating forced upgrade cycles. - Performance
Optimizing images can accelerate performance by reducing HTTP requests, data transfer, and the physical rendering effort. All of these have an impact on user experience and performance. - Social Equity
Providing lightweight images makes it easier for users in low-bandwidth areas or those using older devices to access your content, provided these devices can support the formats used.
GRI
- Materials: High
- Energy: High
- Water: High
- Emissions: High