Episode GB023-01
Website Image Sizes: Dimensions, File Size, and Quality
Pictures help tell your story, but uploading a large original photograph can make your website carry more data than it needs. Understanding website image sizes starts with two different measurements: the image’s dimensions and its file size.
In this Geek Byte, CJ Gilbert explains the difference between an image’s height and width in pixels and its “weight” in kilobytes. He shares examples for backgrounds, featured images, and thumbnails, then discusses adjusting image quality to reduce file size.
Originally recorded on February 19, 2020. The dimensions and file-size targets in the video are examples from CJ’s workflow at that time. The right settings depend on your layout, the image itself, and how your website delivers images to different screens. Modern formats such as WebP and AVIF provide additional options for reducing file size.
Listen
Image Dimensions and File Size Are Different
When someone says an image is “too big,” they might mean two different things.
Dimensions describe its width and height in pixels. An image measuring 1920 × 1280 pixels contains more pixels than one measuring 960 × 640.
File size describes how much data the saved image contains, usually measured in kilobytes or megabytes. This is what CJ calls its “weight.”
The measurements are related, but they are not interchangeable. Two images with identical dimensions can have very different file sizes because of their content, format, and compression settings.
Start With Where the Picture Will Appear
A background stretching across a page has different requirements from a small thumbnail beside a blog post.
Before preparing an image, decide where it will appear and what shape that space requires. Crop it intentionally so the subject remains clear, then choose dimensions appropriate for its use.
The video includes examples such as 1920 × 1280 pixels for a background and smaller dimensions for other placements. Treat these as starting points. Your website’s layout and support for high-density screens will affect what works best.
Reduce File Size Without Sacrificing Useful Detail
Compression can reduce how much data visitors need to download. For photographs, adjusting the quality setting when exporting a JPEG is one way to do this.
Compare the result with the original. Look for blurry details, rough edges, or distracting artifacts. The goal is a smaller file that still looks good where visitors will see it.
The video’s suggested kilobyte ranges illustrate this balancing act. They are not pass-or-fail limits for every website image. A detailed photograph may need more data than a simple graphic.
Choose a Format That Fits the Image
Photographs, logos, and screenshots do not always benefit from the same export settings.
JPEG remains an option for photographs. PNG can be useful when transparency or crisp detail is needed. WebP and AVIF offer additional compression options, while SVG can suit vector artwork such as logos and icons.
Your website may also create multiple image sizes and deliver different versions to different screens. Check what your publishing setup already handles before adding another image-processing tool.
Keep the Original and Check the Published Page
Save an untouched original before cropping, resizing, or compressing. That gives you something to return to if you later need a different crop or a larger version.
After uploading, inspect the actual page on desktop and mobile. Check that the subject is visible, any text within the image remains readable, and the picture looks appropriate for its placement.
Preparing images is part of preparing the page. A file that looks fine in an image editor can still be cropped awkwardly or displayed too large on the website.
Give Every Image a Purpose
A useful image can demonstrate a result, explain an idea, or help visitors understand your business. Choose pictures that support the page’s message.
For more help planning how your website’s content fits together, explore Website Safari.
— Size Matters!
- Dimensions = H x W (px)
- “Weight” = File Size (KB)
— Dimensions = Height x Width (in pixels)
- 1920 x 1280 = bkgd
- 1040 x 1040 = other
- 760, 420, 250, etc
— “Weight” = File Size (in KB)
- Adjust Quality of image (jpg)
- BIG bkgds ~150-250k
- Big Featured ~100-150k
- Smaller / Thumbs ~60-80k
Ask a Web Geek:
- Join our FB group:
- Jump into our ongoing conversations!
- What are YOUR questions? How can we HELP YOU?
More Resources:
- More Resources & links at Jungle-Studios.com/resources
- BONUS Trainings and Resources!
- Refer to / Browse https://jungle-studios.com/meet-cj
Related Episodes
SMJC36: Directory Listings: Improve Your Local Business Visibility
SMJC FULL Class 36 Directory Listings: Help Customers Find Accurate Business InformationWhat information do people find when they look up your business? An old phone number, incorrect hours, or a broken website link can make it harder for a potential customer to reach...
SMJC35: Create and Organize a Quote Graphic in Adobe Express
SMJC FULL Class 35 Create a Quote Graphic in Adobe Express: Export and Organize Your ContentA finished graphic is easier to use when you can find its image file and accompanying caption. This demonstration follows those pieces from design through preparation for...