A camera photograph can be far larger than the space it occupies on a website. Uploading the original and displaying it in a small card does not necessarily reduce the amount of data a visitor downloads. Prepare an appropriate web version, while keeping the original safely available for future use.
First, identify the largest intended display size. A wide lead image and a small thumbnail have different needs. Consider high-density screens, but do not export every photograph at the camera's maximum resolution just in case it is needed somewhere else later.
Make one controlled change at a time
Crop the composition deliberately, then resize a copy. Apply compression and compare the result at the size visitors will actually see. Look closely at text, faces, fine patterns, and gradual color changes, where compression artifacts can be noticeable.
Try a format suited to the image and supported by your publishing setup. Photographs, transparent graphics, and simple diagrams do not always benefit from the same format. MDN's image-performance guidance explains the tradeoffs; the smallest file is not automatically the best choice if it visibly damages useful detail.
Record the export settings for a representative image so you can prepare a consistent batch. However, inspect unusual images individually. A detailed screenshot may need different treatment from a soft-focus background photograph.
Some platforms generate smaller versions automatically. Confirm whether that happens and whether the page selects an appropriate version. Avoid compressing an image repeatedly through several tools without checking quality; successive lossy exports can make it worse.
Open the published page and inspect the image on desktop and mobile. Check both visual clarity and the downloaded file size. A tiny thumbnail that still requests a multi-megabyte original indicates a delivery problem that export settings alone may not solve.
Keep a usable file system
Use descriptive filenames and separate originals from web exports. If you later need a different crop, return to the original rather than enlarging a small thumbnail. Remove unnecessary embedded private information where appropriate, especially when images come from a personal device.
Do not chase an arbitrary byte target for every image. A diagram containing essential detail may justify more data than decoration. The useful question is whether the file carries the information the page needs without making visitors download substantially more than they can see.



