LiquidPurple - Strategic Website Management

Glossary of Terms

We have compiled this list of terms and definitions to help you better understand the terminology used within the web development community.

Unsized Images

Search for glossary terms (regular expression allowed)
Unsized Images are pictures placed on a page without declared width and height, causing the layout to jump around as they load. This contributes to layout shift and a poor visual experience. Always set image dimensions or use CSS aspect ratios to keep the page stable during loading.

Unsized Images

Unsized images are <img> elements that do not include width and height attributes. When the browser encounters an image without dimensions, it does not know how much space to reserve on the page. So it starts laying out all the surrounding content, and then when the image finally loads, everything shifts to make room. Text jumps, buttons move, and users lose their place. This is one of the leading causes of Cumulative Layout Shift and one of the easiest to prevent. Setting image dimensions takes seconds and eliminates an entire category of visual instability.

Why It Matters

  • Layout shifts frustrate users. A user reading a paragraph that suddenly jumps down because an image loaded above it has a terrible experience. Even worse, they might accidentally click the wrong button when content shifts beneath their finger or cursor.
  • It directly hurts Cumulative Layout Shift. CLS is a Core Web Vital that measures visual stability. Unsized images are one of the most common contributors to poor CLS scores because each image that loads without reserved space triggers a shift.
  • The fix takes almost no effort. Adding width and height attributes to an image tag is one of the simplest changes you can make. The browser uses those dimensions to calculate the correct aspect ratio and reserves the right amount of space before the image downloads.
  • Modern browsers use dimensions intelligently. When you provide width and height attributes, modern browsers automatically calculate the aspect ratio and reserve the correct proportional space even in responsive layouts. This means the attributes work correctly even when CSS scales images to fit their container.

How to Fix It

  1. Add width and height attributes to every image. Set the width and height attributes to the image's intrinsic dimensions in pixels. The browser uses these to calculate the aspect ratio and reserve space. You can still scale images responsively with CSS.
  2. Use the CSS aspect-ratio property. For images where you know the ratio but not the exact pixel dimensions, the aspect-ratio CSS property tells the browser how to allocate vertical space based on the element's width. This works well for fluid layouts.
  3. Set dimensions on responsive images too. Even when using srcset and sizes attributes, include width and height on the <img> tag. Use the dimensions of the fallback image — the browser will calculate the ratio correctly regardless of which source it loads.
  4. Handle CMS and user-generated images. If your CMS allows users to upload images, configure it to automatically extract and set dimensions when inserting images into content. Most modern CMS platforms can do this.
  5. Check video and iframe elements too. The same problem applies to embedded videos and iframes. Give these elements explicit dimensions or wrap them in containers with a set aspect ratio to prevent layout shifts.

Common Mistakes

  • Thinking responsive design means no dimensions. Setting width and height does not prevent responsive scaling. Modern browsers use the attributes to calculate the aspect ratio. CSS still controls the actual display size. Both can and should coexist.
  • Setting only width or only height. The browser needs both values to calculate the aspect ratio. Providing only one dimension does not help reserve the correct amount of vertical or horizontal space.
  • Using incorrect dimensions. If the width and height attributes do not match the actual image's aspect ratio, the browser reserves the wrong amount of space. The image either gets distorted or the layout still shifts when it loads.
  • Forgetting about lazy-loaded images. Lazy-loaded images are especially prone to layout shift because they load later when they enter the viewport. These images need dimensions even more urgently than above-the-fold images that load immediately.
Bottom Line: Add width and height attributes to every image, use CSS aspect-ratio when appropriate, and do not forget about lazy-loaded content. It is one of the simplest and most impactful fixes for layout stability — a few extra characters in your HTML that prevent entire categories of visual jank.
Hits - 198
Synonyms: Missing Dimensions, No Width/Height

What Does "Liquid Purple" mean?

noun | / LIK-wid PUR-pul /

  1. (biochemistry) Also known as visual purple or rhodopsin — a light-sensitive receptor protein found in the rods of the retina. It enables vision in dim light by transforming invisible darkness into visible form. Derived from the Greek rhódon (rose) and ópsis (sight), its name reflects its delicate pink hue and vital role in perception.

  2. (modern usage) Liquid Purple — a digital marketing agency specializing in uncovering unseen opportunities and illuminating brands hidden in the digital dark. Much like its biological namesake, Liquid Purple transforms faint signals into clear visibility — revealing what others overlook and bringing businesses into the light.

Origin: From the scientific term rhodopsin, discovered by Franz Christian Boll in 1876; adopted metaphorically by a marketing firm dedicated to visual clarity in the age of algorithms.

Client Login