A website rarely needs the full camera original to show a photograph in an article. Sending a large file can make the page slower without adding visible detail at its displayed size. The useful export is the smallest version that still looks right in its intended context, which requires checking both dimensions and compression.
Start with the display area
Find out how large the image appears in the layout and whether the website generates responsive versions. A photograph displayed at 900 CSS pixels wide may benefit from a larger source on a high-density screen, but there is little value in automatically uploading every image at 6000 pixels. Treat the layout's requirements as the starting point, not the camera's maximum resolution.
Export a resized copy and keep the original separate. For a typical article illustration, you might compare 1200-pixel and 1800-pixel versions on the actual page. These are test sizes, not universal limits. A full-screen portfolio image and a small thumbnail have different jobs, and a site with its own image pipeline may ask for a different upload size.
Compare compression on difficult details
JPEG quality scales differ between applications, so a number such as 80 is not an absolute standard. Make a few exports and examine areas likely to reveal damage: a smooth sky, fine leaves, hair, text and strong edges. Look for blocky patches, ringing around edges and smeared texture. Compare file size alongside the visible difference.
Inspect at the actual display size as well as at 100 percent. Extreme magnification can make insignificant defects seem decisive, while a fit-to-window preview can hide obvious problems that appear when the image is used larger. Avoid repeatedly opening and resaving a compressed JPEG as the editing master; return to the original or editable source for a new export.
Finish the delivery details
Use a color space suited to the website's requirements, commonly sRGB, and embed the profile when the workflow supports it. Review metadata rather than exporting everything by habit. Copyright information may be useful; private location data may not be. Give the file a concise descriptive name and supply meaningful alternative text in the page itself.
Finally, test the image on the website. The content system may resize or recompress it again, and a crop in the layout may remove something you intended to show. Check desktop and phone views, then keep the export settings with the project so future additions arrive in the same useful form. A good export is a delivery decision, not simply the last button in an editing session.



