
How to Optimize Real Estate Listing Photos for Your Website
Buyers rate photos more useful than any other website feature. We measured the same image as PNG, JPEG and WebP to show what format and sizing actually save.
A listing photo is the product. Before a buyer reads the price, the address or the square metres, they have already decided whether the property looks worth a click, and that decision happens on a screen smaller than a postcard. Most agents spend their energy on the shoot and almost none on what happens to those files after they leave the camera, which is why so many property pages are beautiful and slow at the same time.
This guide covers the four decisions that actually change how listing photos perform on a website: which format you export, what pixel dimensions you serve, when each image loads, and how the markup behaves while it loads. Where numbers exist we cite them; where they don't, we say so.
Photos outrank every other website feature
NAR's survey of recent buyers is blunt about priorities. Asked which website features are "very useful", 83% chose photos, ahead of detailed property information at 79%, floor plans at 57%, agent contact info at 47% and virtual tours at 41% (NAR 2025 Profile of Home Buyers and Sellers). Videos came in at 29%. The 2026 edition of the same report puts photos at 81% and videos at 29% again (NAR 2026 Home Buyers and Sellers Generational Trends).

That ranking matters because the same report shows where the traffic comes from: 51% of buyers found the home they purchased on the internet, against 29% through an agent, and 43% said their first step was looking online for properties (NAR 2025). Add the mobile figure — 70% of buyers used a mobile or tablet as an information source (NAR 2026) — and the constraint is obvious. The most valuable asset on your site is being delivered to the least forgiving device, usually over a mobile connection.
The commercial angle is simple: a brokerage website was a top source of quality leads for 13% of REALTORS and their own site for 12% (NAR 2025 REALTORS Technology Survey), so a stalled property page starves the top of that funnel.
What one photo actually costs in bytes
Vendors publish impressive compression percentages, so we ran our own measurement instead. We generated a single synthetic 2400x1600 image with photo-like content — a gradient wall, a bright window, a floor band, furniture shapes and fine grain — then saved it four ways with Python's Pillow library and measured the resulting files. This is our own test, not a benchmark of your camera files: a synthetic image compresses more easily than a real interior with foliage, fabric and window glare, so treat the ratios as directionally useful and the absolute numbers as a floor.
| Export | Dimensions | File size | Share of the PNG |
|---|---|---|---|
| PNG (lossless) | 2400 x 1600 | 5.07 MB | 100% |
| JPEG, quality 80, progressive | 2400 x 1600 | 0.53 MB | 10.4% |
| WebP, quality 80 | 2400 x 1600 | 0.40 MB | 7.8% |
| WebP, quality 80, resized to 1600 px wide | 1600 x 1067 | 0.19 MB | 3.7% |

Two things stand out. First, the format choice alone cut the file to roughly a tenth of the PNG, because a photograph has no business being lossless. Second, resizing did about as much work again: dropping the long edge from 2400 to 1600 pixels took the WebP from 0.40 MB to 0.19 MB. If a page carries 30 photos at those sizes, the arithmetic is 11.9 MB against 152 MB — the difference between a gallery that opens and one that loads while the buyer scrolls away.
For scale, web.dev notes images are the most-requested asset type on most sites, and at the 90th percentile sites send over 5 MB of images (web.dev: browser-level image lazy loading). One unoptimised PNG is that entire budget.
Step 1: pick the right format, and stop shipping PNGs
web.dev groups web images into two families: vector formats such as SVG for logos, icons and text-like shapes, and raster formats — PNG, JPEG, WebP and AVIF — for photographs, where SVG markup would be prohibitively large and still not photorealistic (web.dev: choose the right image format). Listing photos are raster, always.
Within raster, the practical split for a property site is:
- JPEG — universal, safe, and still perfectly good at quality 80 for photographs. Keep it as the fallback.
- WebP — a modern raster format with wide browser support; our test produced the smallest 2400-pixel file of the three we measured.
- AVIF — the other modern raster format named in web.dev's guidance. We did not measure AVIF in this test, so we make no size claim for it; if your pipeline supports it, measure your own files before switching.
- PNG — for screenshots, floor-plan diagrams and graphics with flat colour or transparency, not for photographs.
Serve modern formats with a fallback rather than replacing everything. In practice that means a <picture> element listing AVIF and WebP sources with a JPEG <img> underneath, so an older browser gets the JPEG instead of a broken frame. Most modern CMS platforms and image CDNs do this automatically once you upload a large original; check what yours actually outputs before assuming it does.
Step 2: serve the dimensions the layout needs
The most common waste on property sites is a 6000-pixel camera file scaled down by CSS to a 600-pixel card. The browser downloads every pixel and throws most of them away. web.dev's pixel arithmetic shows why the waste grows fast on modern screens: a 100x100 CSS-pixel image needs 10,000 pixels at 1x, 40,000 at 2x and 90,000 at 3x, because doubling the resolution of a screen quadruples the pixel count (web.dev: choose the right image format).
The fix is a responsive image set: export a small, medium and large version of each photo, list them in srcset with sizes describing the layout, and let the browser choose. A workable rule of thumb — our recommendation, not a standard — is roughly 800 px for grid cards, 1600 px for the gallery view and no more than 2048 px for a full-width hero. Keep one full-resolution original archived for print and syndication, but do not serve it to browsers.
Step 3: lazy-load below the fold, and only below the fold
Browsers can defer offscreen images natively with loading="lazy", no JavaScript library required, and web.dev reports that on 4G, 97.5% of lazy-loaded images in Chrome on Android were fully loaded within 10 ms of becoming visible (web.dev). In July 2020 Chrome tightened its distance-from-viewport thresholds to 1250 px on fast connections and 2500 px on 3G or slower, so images start fetching well before the buyer reaches them.
Two cautions from the same guidance. Do not lazy-load images that are likely in the viewport at load time, especially the Largest Contentful Paint image — that is usually the hero photo of the listing, and delaying it makes the page feel slower, not faster. And loading="eager" does not speed anything up; if you need the hero fetched sooner, use fetchpriority="high" on that one image.
A 40-photo gallery is exactly the case lazy loading was designed for: the buyer sees the first two images immediately and the other 38 arrive only if they keep scrolling.
Step 4: stop the layout from jumping
Every image without declared dimensions forces the browser to guess its height, then reflow the page when the file arrives. On a photo-heavy listing grid this produces the familiar jolt where the text moves as you start to read it. Declaring width and height attributes on every <img> (web.dev's own lazy-loading example includes them) lets the browser reserve the space in advance, and CSS aspect-ratio keeps it correct on narrow screens.
Pick one aspect ratio for the gallery — 3:2 or 4:3 landscape is safe for property — and crop consistently.
Step 5: write alt text that helps a person
Alt text is not decoration or a keyword field: it is what a screen-reader user hears and what search engines read when an image fails. Describe the property plainly: "bright living room with balcony doors open onto a marina view" tells a buyer something; "Dubai apartment for sale cheap" tells them you are gaming a ranking. Keep it to one honest sentence per photo, and mark purely decorative images with an empty alt="" so they are skipped.
A checklist you can hand to a developer
- Export photographs as WebP (or AVIF) with a JPEG fallback; never as PNG.
- Quality 75–80 for gallery photos; go higher only for images with fine detail you need to keep.
- Produce at least three widths per photo and wire up
srcsetandsizes. - Lazy-load everything below the first screen; leave the hero eager, with
fetchpriority="high". - Set
widthandheighton every image and fix the aspect ratio in CSS. - Write a real one-sentence alt description per photo.
- Compress before upload, not on the server after the fact.
- Re-test on a throttled mobile connection after every template change, not just once.
Key takeaways
- Photos are rated "very useful" by 83% of buyers, more than any other website feature (NAR 2025).
- In our own Pillow test, the same image went from 5.07 MB as PNG to 0.53 MB as JPEG and 0.40 MB as WebP, then to 0.19 MB after resizing to 1600 px.
- Format and dimensions each cut roughly the same order of magnitude; doing one without the other leaves most of the gain on the table.
- Lazy-load below the fold, never the hero, and always declare image dimensions.
- 70% of buyers use a mobile or tablet as an information source, so the phone is the target device, not the desktop (NAR 2026).
Next step
If you are listing property, the photos are what a buyer meets first. On UAE Realty you can browse properties across the emirates and list your own property — start with your best three images exported properly, and let the gallery do the rest. Agents who want a site built around fast, well-served listing media can talk to MAH Integrated Solutions about the setup.
Sources
- Highlights From the Profile of Home Buyers and Sellers 2025 — National Association of Realtors · accessed 21 Nov 2026
- Home Buyers and Sellers Generational Trends 2026 — National Association of Realtors · accessed 21 Nov 2026
- 2025 REALTORS Technology Survey — National Association of Realtors · accessed 21 Nov 2026
- Choose the right image format — web.dev (Google) · accessed 21 Nov 2026
- Browser-level image lazy loading for the web — web.dev (Google) · accessed 21 Nov 2026


