Features

Serve images faster (technical SEO)

3mo agoIn Review

Umso sites may be ranked lower in Google Search due to poor PageSpeed Insights scores caused by slow image loading.

Proposed solution: Implement LQIP (Low Quality Image Placeholder) to:

1. Initially load a tiny, blurred version (~2-5KB) of each image

2. Lazy-load the full-quality image on top

3. Expected outcome: Improved First Contentful Paint and Largest Contentful Paint metrics

Example:

<div class="image-wrapper" style="position: relative;"> <!-- Low quality placeholder (new) --> <img src="/lib_tsWmfJjIHOxbRufo/9e80hwy4hnw06836.png?w=20&h=15&fit=max" class="placeholder" style="position: absolute; width: 100%; filter: blur(10px);" alt="Mountain landscape" />

<!-- High quality image (existing) --> <img src="/lib_tsWmfJjIHOxbRufo/9e80hwy4hnw06836.png?w=1200&h=900&fit=max" srcset="/lib_tsWmfJjIHOxbRufo/9e80hwy4hnw06836.png?w=1200&h=900&fit=max, /lib_tsWmfJjIHOxbRufo/9e80hwy4hnw06836.png?w=1200&h=900&fit=max&dpr=2 2x" loading="lazy" class="main-image" style="position: relative; width: 100%;" onload="this.style.opacity = 1" alt="Mountain landscape" /> </div>

<style> .main-image { opacity: 0; transition: opacity 0.3s ease-in-out; } </style>

0 comments