How to Compress Project Photos Without Making Them Look Bad

December 2, 2026
Categories: Speed & Access

i 3 On This Page

White kitchen with a marble island, glass front cabinets and dark hardwood floors in a finished remodel

Project photo optimization starts with the size people actually see

Project photo optimization is the work of matching each job photo to the screen where it will appear. A kitchen remodel photo straight from a phone camera is often far larger than any page needs, so the extra weight only slows the page. The sections below cover display width, high density screens, cropping, formats, compression settings and a check on a real phone.

Why job photos get heavy so fast

Contractors and portfolio owners take dozens of photos on every job. Each one comes straight from a camera that records far more pixels than a web page can show. The WordPress 5.3 note on big images says an average modern smartphone photo is easily over 5MB and good camera photos can be much larger.

Images also carry much of a page’s weight. The web.dev lesson on key image performance issues calls images the web’s biggest assets by both transfer size and number of requests. It adds that optimizing image requests may be the single biggest performance optimization you can make.

That makes photo weight a sensible first fix. A gallery of finished jobs can be one of the heaviest pages on a contractor site. For a wider look at other delays, see the post on what actually makes a small business website slow.

Project photo optimization starts with display width

Start by finding the width at which each photo actually appears. A theme might place the main image in a column 800 CSS pixels wide, a gallery tile at 300 and a banner at 1200. Those numbers come from your theme and layout, so check them on your own pages.

Uploading a 4000 pixel wide photo to fill an 800 pixel column makes the browser download far more data than it can show. As an invented example, a 4000 by 3000 pixel photo holds 12 million pixels. Resized to 1600 by 1200 it holds about 1.9 million, which is roughly one sixth of the pixel data.

The web.dev article on serving responsive images says desktop sized images sent to mobile devices can use two to four times more data than needed. It also notes that serving three to five sizes of an image is common.

How high density screens change the upload size

Many phones and laptops pack more device pixels into each CSS pixel. The web.dev guide on how to choose the right image format explains that a 2x screen needs four times the pixels of a 1x screen. Both the width and the height double.

An image shown 800 CSS pixels wide can use a 1600 pixel file on a 2x display and stay sharp. Uploading far beyond that adds weight the layout does not need. The MDN guide to responsive images describes a density method that lets the browser pick a 1x, 1.5x or 2x file for the same display size.

What WordPress does with a large upload

WordPress already handles part of this. Since version 5.3 an upload wider or taller than 2560 pixels is scaled down, and the scaled copy becomes the largest size the site uses. The original file stays in the uploads folder.

That limit is a safety net, not a target. A 2500 by 1667 pixel photo is not scaled, yet it is far larger than an 800 pixel column needs.

WordPress also creates several sizes of each upload. Since version 4.4 it adds srcset and sizes attributes so browsers can choose a fitting size, as the WordPress 4.4 note on responsive images describes. Those smaller copies are made from the file you upload, so a clean upload gives cleaner copies.

Project photo optimization and cropping

Cropping removes pixels that carry no information. A deck photo with a third of the frame showing empty sky and a neighbor’s fence wastes that space.

Crop first, then resize, so the subject fills the frame at the size you export. Pick one aspect ratio for each slot, such as 16 by 9 for a banner or 4 by 3 for gallery tiles. Matching ratios keep a gallery tidy.

Set width and height on images when you can. The web.dev guide to optimizing Cumulative Layout Shift says to always include width and height attributes or to reserve space with the CSS aspect ratio property.

That lets the browser hold the space while the photo loads. Check a gallery on your site if its photos make the page jump.

Choosing between JPEG, WebP and AVIF

JPEG is the long standing choice for photographs and every browser reads it. The web.dev lesson on the JPEG format describes lossy compression and a single quality setting from 0 to 100.

WebP can produce files smaller than a comparable JPEG, according to the web.dev lesson on the WebP format. WordPress has accepted WebP uploads since version 5.8 as long as the host supports it, as the WordPress 5.8 note on WebP explains.

AVIF is newer. The web.dev lesson on the AVIF format says browser support arrived in Chrome and Opera in 2020, Firefox in 2021 and Safari in 2022.

The WordPress 6.5 note on AVIF says uploads work when the hosting environment supports it. To check, open Tools, then Site Health, then Info and look under Media Handling for AVIF.

Google Images supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF. The Search Central image guidance notes that images are often the largest contributor to page size, which can make pages slow and expensive to load.

A quick format comparison for project photo optimization

The table below compares the three formats for project photos. Check each point against your own host before you switch.

Format What to know In WordPress Check first
JPEG Long standing photo format that every browser reads Accepted without extra steps Banding on smooth walls and ceilings
WebP Can be smaller than a comparable JPEG Uploads since 5.8 when the host supports it Host support and older browsers
AVIF Often smaller than JPEG Uploads since 6.5 when the host supports it AVIF in Site Health, then a phone test

Compression quality settings that hold up

Compression quality is a trade between file weight and visible damage. The JPEG lesson says the quality number runs from 0 to 100 and that tools do not all treat the same value alike. Perceived quality also varies with the content of the image.

So test with your own photos. Export one kitchen photo at three or four quality values, then compare each one at the size it will display.

Keep the lowest value where nothing looks wrong. Start from the original file each time, because a copy already saved as a JPEG has lost data that no later export can restore.

Smooth areas show damage first. The WebP lesson shows a blurred background turning into blocky bands when JPEG compression is pushed too far, while detailed areas still look fine. In a project photo, check painted walls, ceilings, countertops and sky.

Developers can change the default compression quality WordPress uses with the wp_editor_set_quality filter. Ask your developer before you change it, since the change affects the images WordPress creates afterward.

Project photo optimization checks on a real phone

A laptop preview does not show how a gallery feels in a hand. The Chrome documentation on device mode calls it a first order approximation and says that when in doubt you should run the page on a real mobile device.

Open the live page on a phone, once on wireless internet and once on mobile data. Then work through this list.

  1. Load the page and watch the first photo, noting if it appears late or sharpens after a pause.
  2. Zoom to full size on dark finishes, ceilings and smooth walls to look for bands or blocks.
  3. Read any text inside the photo, such as a truck door, a sign or a plan.
  4. Turn the phone sideways and check how the banner crop looks.
  5. Scroll the gallery and confirm that photos below the first screen load as you reach them.
  6. Compare one photo with its original on the same phone.

Do not lazy load the main photo at the upper part of the page. The web.dev article on browser level lazy loading cautions against it for images likely to be in view when the page loads, especially the Largest Contentful Paint image.

Photos further down can load as visitors scroll. For more phone layout checks, see the mobile website checklist.

Project photo optimization for galleries and before and after pairs

The example here is invented and hypothetical. A deck builder has a gallery of twelve phone photos at 4000 pixels wide, and the tiles display at 400 CSS pixels. A 2x display needs about 800 pixels for those tiles, so most of each file is wasted.

After a resize to 1600 pixels wide and a quality test on a phone, the gallery loads far fewer pixels. The photos can still look sharp at tile size and in a larger view. The post on separating remodeling services from project galleries covers how to organize those galleries.

Before and after pairs need the same crop, the same width and the same compression. Mismatched exports make one side look sharper and mislead the comparison.

Keep full size originals in a separate folder so a later redesign starts from the original. The post on publishing a blog post in WordPress without breaking the layout helps when you add the finished images to a page.

A short routine to repeat for every job

Use this order each time photos come in from a job.

  1. Keep the original photo untouched.
  2. Find the display width for the slot, then double it for 2x screens.
  3. Crop to the subject and choose one aspect ratio for each slot.
  4. Resize to that width and no wider.
  5. Export as JPEG, or as WebP or AVIF when the host supports them.
  6. Test three quality values and keep the lowest one that looks clean.
  7. Set width and height or reserve the space with the aspect ratio.
  8. Check the live page on a real phone, then adjust.

Sources were reviewed on December 2, 2026.

The information here is general and educational and is not technical advice for a specific business. Examples are hypothetical. Check your own pages, host and developer before you change image sizes, formats or settings.

What Actually Makes a Small Business Website Slow

Website loading bottlenecks are the separate delays that keep a small business page from loading and staying still on a phone. Check server wait time, image size, scripts, fonts and layout movement before you change the theme. Use field data in PageSpeed Insights and Search Console when it is available, and use lab tests to find the cause.

How to Check Your WordPress Site After a Plugin Update

WordPress update checks help a small business confirm the site still works after a plugin update. Start with a backup and send a labeled test through each form. Then click through menus, check pages on a phone and confirm analytics tags. On a store, place a test order, then clear the cache and read Site Health before any rollback.

Why Your WordPress Contact Form Might Stop Sending Email

Why Your WordPress Contact Form Might Stop Sending Email

WordPress form email failures often start after a visitor sees the thank you screen. Check the From address, SMTP setup, SPF, DKIM and DMARC alignment, form spam filters and notification settings. Then read the SMTP log and message headers, and test on staging with a separate inbox instead of sending fake leads.

How to Set Up Roles for People Who Edit Your Website

How to Set Up Roles for People Who Edit Your Website

WordPress user roles control what each editor can change and publish. Compare Administrator, Editor, Author, Contributor and Subscriber access, then add a review step, multifactor authentication, short term contractor accounts and an exit routine. Review the Users screen on a schedule so roles stay no wider than the work.

What to Ask Before Moving a WordPress Site to Another Host

WordPress hosting migration work starts with a written cutoff plan. Confirm backups of the files and the database, then review DNS, email records, SSL, staging tests, cache clearing and a rollback path. Keep the old host in place until traffic there reaches zero.

How to Tell If Your WordPress Plugins Are Still Needed

WordPress plugin audit work starts with a written list of every installed plugin. Group those plugins by the features they provide, mark duplicates and confirm who holds each license. Then test deactivation and deletion on a staging copy, after a current backup, before you change the live site.

How to Publish a Blog Post in WordPress Without Breaking the Layout

WordPress post publishing is the work of adding a new article without breaking the live layout. Office staff should check heading order, images, alt text, previews and links before using Publish. The site’s theme or builder may differ from the default WordPress screens, so follow the menus on the site you actually use.

What Business Owners Should Own in Their WordPress Accounts

WordPress account ownership is the work of confirming that a business controls the administrator login, the domain registrar, DNS, hosting, plugin licenses and backups. Owners who hired a developer years ago should check those accounts first. A safe handoff adds an Administrator under a business email, then lowers or removes old contractor access.

How to Build a Website Content Inventory Before a Redesign

A website content inventory is a list of every live URL a business might keep, merge, redirect or remove before a redesign. It records the title, traffic, backlinks and conversion role for each address. That list should be complete before anyone changes the navigation or the URL pattern.

Which Pages Should a Business Launch First

Website launch priorities are the order in which a business short on time should publish pages on a new site. The homepage, core service pages, a contact page, an about page, policy pages and proof should go live first. Blog posts and extra stories can wait until those pages can receive a real inquiry.