How to Resize an Image for the Web in Photoshop
A beginner, interface-by-interface guide to resize an image for the web in photoshop, including what each design term means, where to click and how to verify the exported/resulting asset.
By the end: You will complete resize an image for the web in photoshop and keep an editable source plus a checked output.
You will complete resize an image for the web in photoshop and keep an editable source plus a checked output.
Key terms before you start
These definitions make the steps easier to follow and help distinguish controls, files and concepts that can look similar at first.
What you need before starting
- Access to Photoshop
- A source/project you are allowed to edit
- A clear final destination/size/use for the result
Step-by-step tutorial
Every step is shown below. Work through them in order and use each checkpoint to confirm the result before moving on.
Open Photoshop and use a safe working copy
Open the real project in Photoshop. Duplicate the file/document first if the tutorial could alter important source work.
The editable source is different from the final exported asset; preserve recoverability.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Identify the final destination
Write where the result will be used: website width, social platform, handoff, print, prototype, etc.
Dimensions, color, format and responsive behavior depend on destination.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Know the destination pixel width
Measure/decide maximum rendered width on website.
Web images are displayed in CSS/device pixels; giant originals increase transfer/storage.
Duplicate/preserve original
Use a copy or keep original file separately.
Resampling down discards pixel data.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Open Image → Image Size
Use Photoshop menu Image → Image Size.
This dialog controls pixel dimensions/resolution/resampling.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Choose pixels for web dimensions
Set width/height units to Pixels.
Print resolution units are not the primary determinant of web display size.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Keep aspect ratio linked
Keep constrain-proportions/link enabled unless intentional distortion/crop is required.
Changing one dimension updates other proportionally.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Enter target width
Type required pixel width; inspect resulting height.
Do not upscale a tiny source expecting real new photographic detail.
Undo, then select the target through Layers panel and verify its name before editing.
Choose resampling method/default appropriate to Photoshop version
Leave a sensible automatic method unless you have a measured reason to change.
Resampling determines how pixels are recalculated.
Confirm and inspect at 100%
Click OK then view around 100%.
Judge sharpness/details at actual pixel scale.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Save/export a web copy
Use Export As/Quick Export workflow for delivery format.
Do not overwrite only master with compressed web version.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Check file dimensions outside Photoshop
Inspect properties/browser after export.
Confirms delivery file, not document, has correct size.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Open the exported/result outside the editor
Inspect the actual PNG/JPEG/SVG/prototype/output rather than assuming it matches the canvas.
Exports can change dimensions, transparency, font rendering or compression.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Store source and delivery files predictably
Use clear names/versioning and keep the source separate from public delivery assets.
Future revisions should start from editable source.
Return to the layered/component source or backup. Keep future export/flatten operations on separate delivery copies.
Always know whether you are editing source structure or generating a delivery copy.
Concrete examples
Troubleshooting
Undo, then select the target through Layers panel and verify its name before editing.
Inspect export dimensions, transparency, crop, color and output format; judge the exported file as the final artifact.
Use Auto Layout/flexible components or revise layout constraints rather than shrinking type until it barely fits.
Return to the layered/component source or backup. Keep future export/flatten operations on separate delivery copies.
Files can be found/reused.
How the topic comes up in practice
Short excerpts from public discussions that directly relate to the task. Use the source link for the complete context.
“WebP is currently the best all-around choice for modern browsers, great size savings, widely supported.”
WebP vs AVIF vs PNG vs JPG ↗
Continue with these tutorials
Documentation and references
Use these primary and supporting sources to verify current controls, browser behavior and product-specific details.