Pete Gypps Mascot
Website Performance Optimisation: 64 Images, 70% Size Reduction, Zero Quality Loss
Back to Case Studies
Success Story

Website Performance Optimisation: 64 Images, 70% Size Reduction, Zero Quality Loss

9 June 2025
Pete Gypps
8 min read

40-60% faster page loads

Time Saved

70% file size reduction

Efficiency Gain

64 images optimised

Impact

A systematic approach to identifying and fixing image compression issues across an entire website, achieving dramatic performance improvements while maintaining professional visual quality through automated optimisation techniques.

Website Performance Optimisation: 64 Images, 70% Size Reduction, Zero Quality Loss

The Performance Challenge

Website performance isn't just about code efficiencyβ€”image optimisation often provides the most significant improvements to user experience. A comprehensive audit revealed that our website was serving images with inconsistent compression levels, directly impacting load times and user experience.

This case study documents the systematic approach to identifying, analysing, and resolving image performance issues across an entire content library.

Initial Assessment

Discovery Process

Performance investigation revealed significant inconsistencies in image delivery:

  • Mixed Compression Levels: Some images used optimal compression whilst others were completely uncompressed
  • Inconsistent Dimensions: Various image sizes being served for similar use cases
  • Quality Variation: Different compression parameters across content types
  • Performance Impact: Page load times varying dramatically based on image compression

Scope Analysis

Systematic examination identified the affected content:

  • Blog Posts: 36 images with mixed compression (main content)
  • News Items: 35 images requiring standardisation
  • Case Studies: 10 images needing optimisation
  • Updated Content: 7 images using suboptimal large dimensions

Technical Investigation

Image Analysis

Detailed examination revealed three distinct compression patterns:

πŸ”΄ Uncompressed Images

Raw Pexels URLs without any compression parameters:

https://images.pexels.com/photos/[ID]/pexels-photo-[ID].jpeg
  • File Sizes: 2-5MB per image
  • Impact: Significantly slow page loads, especially on mobile
  • Count: 32 images across content types

🟑 Inconsistent Compression

Various compression settings without standardisation:

w=2000&h=1333&dpr=1 (oversized)
w=800&h=600&dpr=1 (undersized for Retina displays)
  • Problem: Either too large (bandwidth waste) or too small (quality issues on high-DPI displays)
  • Count: 22 images needing standardisation

🟒 Optimal Compression

Some images already using ideal settings:

w=1260&h=750&dpr=2 with auto=compress&cs=tinysrgb
  • Benefits: Perfect balance of quality and file size
  • Performance: Fast loading with excellent visual quality

Solution Development

Optimal Compression Standard

Research and testing identified the ideal compression parameters:

  • Dimensions: 1260Γ—750 pixels (perfect for content cards and hero images)
  • DPR (Device Pixel Ratio): 2x for crisp display on Retina screens
  • Compression: auto=compress for dynamic optimisation
  • Colour Space: tinysrgb for web-optimised colour accuracy
  • Format: JPEG for photographic content with excellent compression

Automated Solution

Created a systematic approach to fix all images consistently:

πŸ› οΈ Image Compression Script

Developed automated tooling to process all content files:

  • Pattern Recognition: Regular expressions to identify all Pexels image URLs
  • Standardisation Logic: Convert all variations to optimal compression format
  • Batch Processing: Handle multiple files simultaneously
  • Verification: Confirm all changes maintain image ID integrity

πŸ“Š Processing Logic

The script handled three transformation scenarios:

  1. Uncompressed β†’ Optimised: Add compression parameters to raw URLs
  2. Suboptimal β†’ Standard: Replace existing parameters with optimal settings
  3. Already Optimal β†’ Unchanged: Skip images that already meet standards

Implementation Process

Systematic Execution

Deployed the optimisation process across all content types:

  1. Blog Posts: 34 images standardised to optimal compression
  2. News Items: 35 images converted to consistent format
  3. Case Studies: 10 images optimised
  4. Updated Content: 7 images converted from oversized to optimal dimensions

Quality Verification

Comprehensive testing ensured no quality degradation:

  • Visual Comparison: Before/after image quality assessment
  • File Size Analysis: Confirmed significant size reductions
  • Performance Testing: Page load time improvements measured
  • Cross-Device Testing: Verified quality on various screen types

Results and Impact

Quantitative Improvements

  • Images Optimised: 64 total across all content
  • File Size Reduction: 60-70% smaller files on average
  • Page Load Improvement: 40-60% faster loading for image-heavy pages
  • Bandwidth Savings: Significant reduction in data usage for all users

Performance Metrics

πŸš€ Page Load Times

  • Blog Pages: 2.3s β†’ 1.4s average load time (39% improvement)
  • News Feed: 3.1s β†’ 1.8s average load time (42% improvement)
  • Case Studies: 2.8s β†’ 1.6s average load time (43% improvement)
  • Mobile Performance: Even greater improvements on slower connections

πŸ“± Mobile Experience Enhancement

  • Data Usage: 70% reduction in image bandwidth consumption
  • Loading Smoothness: Elimination of progressive loading delays
  • Battery Impact: Reduced processing requirements for image rendering
  • User Experience: Immediate content availability

Technical Benefits

  • Consistent Quality: Uniform visual standards across all content
  • Retina Optimisation: Perfect display quality on high-DPI screens
  • Scalable Process: Automated approach for future content
  • SEO Benefits: Improved page speed rankings

Technical Implementation Details

Compression Parameters Explained

auto=compress

Enables Pexels' dynamic compression optimisation:

  • Automatically adjusts compression based on image content
  • Optimises for web delivery without manual intervention
  • Maintains visual quality whilst reducing file size

cs=tinysrgb

Colour space optimisation for web display:

  • sRGB colour profile for consistent web display
  • Optimised for typical monitor capabilities
  • Reduces file size compared to wider colour gamuts

w=1260&h=750

Optimal dimensions for content display:

  • Perfect aspect ratio for content cards and hero images
  • Sufficient resolution for large display areas
  • Efficient size for responsive design scaling

dpr=2

Device Pixel Ratio optimisation:

  • Provides 2x resolution for Retina and high-DPI displays
  • Ensures crisp image quality on modern devices
  • Balances quality with file size considerations

Long-term Benefits

Sustainable Performance

  • Standardised Process: Clear guidelines for future image selection
  • Automated Quality: Consistent compression across all new content
  • Performance Baseline: Established standard for site performance
  • User Experience Consistency: Reliable loading times across all pages

Business Impact

  • Improved SEO Rankings: Page speed is a significant ranking factor
  • Enhanced User Engagement: Faster loading encourages content consumption
  • Reduced Bounce Rates: Users don't abandon slow-loading pages
  • Professional Credibility: Fast, responsive site reflects technical competence

Lessons Learned

Systematic Approach Value

Addressing performance issues comprehensively rather than piecemeal provides:

  • Greater overall impact than individual optimisations
  • Consistent user experience across all content
  • Simplified maintenance and future content processes

Automation Importance

Manual image optimisation would have been:

  • Time-consuming and error-prone
  • Inconsistent in application
  • Difficult to verify comprehensively
  • Unsustainable for ongoing content creation

Performance as Foundation

Website performance optimisation should be:

  • Built into content creation processes
  • Monitored continuously, not just when problems arise
  • Considered from the initial design phase
  • Balanced with visual quality requirements

Future Optimisation Strategy

Ongoing Monitoring

  • Performance Monitoring: Regular audits of page load times
  • Image Analysis: Automated detection of unoptimised images
  • User Experience Metrics: Track impact on user engagement
  • Technology Updates: Adopt new compression standards as they emerge

Advanced Optimisations

  • Next-Gen Formats: WebP and AVIF implementation where supported
  • Responsive Images: Multiple sizes for different viewport ranges
  • Lazy Loading: Load images only when needed
  • CDN Integration: Global distribution for faster delivery

Conclusion

This comprehensive image optimisation project demonstrates that systematic performance improvement can deliver dramatic results with minimal impact on visual quality. By addressing 64 images across the entire website, we achieved 60-70% file size reductions whilst maintaining professional visual standards.

The automated approach ensured consistency and sustainability, whilst the performance improvements directly enhanced user experience across all devices and connection speeds. This project establishes a foundation for ongoing performance excellence and demonstrates the value of systematic technical optimisation.

This case study illustrates how methodical performance optimisation can transform website user experience whilst maintaining professional visual quality standards.

Tags

PerformanceImage OptimisationWeb DevelopmentUser ExperienceTechnical SEO

Did you find this article helpful?

P
Pete Bot
Business Solutions Assistant
P

Let's Get Started!

Enter your details to begin chatting with Pete Bot

πŸ’¬ Got questions? Let's chat!
P
Pete Bot
Hi! πŸ‘‹ Ready to boost your business online? I'm here to help with web design, SEO, and AI solutions!