Best Lightroom export size for web: how to pick the right pixels
The right export size for the web comes from the width at which your photos are displayed, doubled for high-density screens. Here is the method, and the settings to use in Lightroom Classic and Lightroom.
· The MyBoook editorial team

For a website, export from Lightroom as sRGB JPEG, resized on the long edge to twice the width at which the photo is displayed on screen (for example 2,400 pixels for an image shown 1,200 pixels wide), with output sharpening set for screen. There is no universal number: the right size depends on your site’s layout, so measure that first.
Why isn’t there one correct size?
Too small and a photo looks soft on a large monitor; too large and the page slows down without showing anything more. Google’s web.dev guide puts a figure on it: sending desktop-sized images to phones can use 2 to 4 times more data than needed. Across a thirty-image portfolio, that adds up.
Screen density makes it trickier. Mozilla’s MDN documentation notes that high-resolution displays need larger images than you might expect. A slot 1,200 CSS pixels wide on a 2x display actually uses 2,400 physical pixels.
How do you work out the export size?
- Measure the display width. Your browser’s developer tools show the size at which each image is rendered. web.dev recommends exactly this.
- Double it for high-density screens, and keep the largest value across your layouts (full width, gallery, thumbnail).
- Apply it to the long edge, so portrait and landscape frames share the same maximum footprint.
If your platform generates several versions of each image itself (the "srcset" technique), export at the largest useful size and let it create the rest. According to web.dev, serving 3 to 5 sizes of the same image is common.
To check your work, the Lighthouse audit includes a "Properly size images" test that lists images needing to be resized.
Which Lightroom Classic settings should you use?
In the Export dialog, five settings matter for the web:
- Image Format: JPEG is still the safe choice. Lightroom Classic also offers AVIF and JPEG XL, but Adobe notes that support across apps and platforms is still limited.
- Color Space: sRGB, proposed in 1996 as the default color space for the internet and since standardized as IEC 61966-2-1.
- Quality: a slider from 0 to 100. Limit File Size To, available for JPEG only, caps the file weight if your site requires it. Compare two or three values on screen rather than defaulting to 100.
- Image Sizing: tick Resize To Fit, choose Long Edge in pixels, and tick Don’t Enlarge so a tightly cropped image is never upscaled.
- Output Sharpening: Sharpen For Screen, Amount Standard. Adobe explains that this sharpening is added on top of what you set in Develop, and that the default amount works in most cases.
The resolution (ppi) field is described by Adobe as a setting for print output. On screen, only pixel count matters: 300 ppi and 72 ppi give the same image if the long edge is identical.
Save these settings as an export preset and you won’t have to think about them again.
What about Lightroom, the cloud-based version?
Its export offers three dimension options: Small, which caps the long edge of the JPEG at 2,048 pixels, Full Size, and Custom for your own value. Quality runs from 10% to 100%, and the extra options give access to output sharpening and color space. Small is a sensible starting point for a gallery; switch to Custom if your layout shows photos larger.
What if you stopped exporting altogether?
Every resized export is another copy to redo after the smallest edit. With MyBoook, a photographer’s site syncs with Adobe Lightroom through Adobe’s API: edits, collections and metadata reach the site without re-exporting. On Lightroom Classic, a plug-in installed from your account area publishes your photos. The details are on the Lightroom-synced photographer website page.
Frequently asked questions
Should I export at 72 ppi for the web?
No, the ppi value does not change how an image displays on screen. Only the pixel dimensions count.
What size for a full-width photo?
Measure the actual width of that slot on your site and double it for high-density screens. Then enter that value as the long edge.
JPEG, AVIF or JPEG XL?
JPEG remains the most compatible format. Adobe notes that support for AVIF and JPEG XL is still limited across apps and platforms.
