DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk5 min

How to Generate Retina Website Thumbnails for a Portfolio

Use a consistent CSS viewport and 2× capture scale to create sharp, well-framed website thumbnails for a portfolio.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make crisp portfolio thumbnails, capture each site at the CSS viewport size that matches your portfolio layout, set the device-pixel scale to 2, and display the resulting image at half its pixel dimensions. For example, a 1200 × 750 CSS-pixel preview captured at 2× produces a 2400 × 1500 image that can be shown at 1200 × 750.

Choose the thumbnail frame before capturing

The CSS viewport controls the site’s responsive layout; the scale factor controls how many image pixels are captured for each CSS pixel. Keep the viewport consistent across projects when your portfolio uses uniform cards. Pick width and height to match the composition you want visitors to see, rather than enlarging the viewport to get a sharper image.

As an Amazon Associate I earn from qualifying purchases.

Capture.page documents viewport width and height as capture parameters: Capture.page documentation. The exact dimensions are a design choice: consider the portfolio card’s aspect ratio, the site layout you want to represent, and whether a crop is appropriate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set the capture scale for retina output

A 2× scale captures twice as many raster pixels along each dimension without changing the chosen CSS viewport. Capture.page documents scaleFactor 2 as high resolution and 3 as ultra-high resolution. For most portfolio previews, start at 2×; use a higher value only if the display requires it and the larger files are acceptable.

At a 1200 × 750 CSS viewport, 2× produces a 2400 × 1500 raster image. Render that image at approximately 1200 × 750 CSS pixels in the portfolio so the extra pixels provide density rather than changing the layout. Playwright describes the distinction between CSS-pixel and device-pixel screenshot scaling in its screenshot documentation.

Choose viewport, element, or full-page capture

Viewport capture for consistent project cards

Use the visible viewport when each portfolio entry should have the same frame. This is usually the simplest way to produce consistent cards and avoids extremely tall files.

Element capture for a specific component

If the portfolio should show a particular hero, product panel, or other region, capture the target element rather than the whole viewport. Playwright supports screenshots of a target element as well as viewport and full-page screenshots; see its screenshot documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Full-page capture when the whole page matters

Use full-page mode when the complete page is more informative than a uniform card. It can create very tall images. The capture-website project documentation warns that screenshots taller than 16384 pixels may repeat content because of a Chromium limitation. Capture important sections separately or limit the captured region if you encounter this.

Repeatable do-it-yourself workflow

  1. Set the card dimensions. Decide the CSS width and height the portfolio will use, including the desired crop or aspect ratio.
  2. Keep the viewport fixed. Apply the same viewport dimensions to each project when consistent responsive layouts are the goal.
  3. Set device scale to 2. This creates a high-density image while preserving the viewport’s responsive layout. Test 3× only when needed; larger raster dimensions increase the amount of image data to handle.
  4. Select the capture region. Choose viewport or a target element for a card; use full-page mode only when page length is part of the preview’s purpose.
  5. Wait for the page to be ready. If content loads lazily, scroll through the page before capturing or use a tool’s lazy-content preload option. The capture-website documentation describes scrolling to trigger lazy-loaded content.
  6. Choose an output format. capture-website documents PNG, JPEG, and WebP output. Pick according to your site’s image pipeline and visual needs, then check the saved file at its actual display size.
  7. Review the result in the portfolio layout. Check framing, visible text and interface details, and consistency with neighboring thumbnails.

Tool options for a repeatable process

Approach Useful for Documented capabilities
ScreenshotNeo Taking screenshots through an API or MCP server without managing browser setup. One GET request returns an image or PDF; it offers viewport and device presets, full-page capture, element capture, and other capture options. See ScreenshotNeo and its API documentation.
Playwright Projects already using browser automation or needing local control of capture steps. Documents viewport, target-element, and full-page screenshots, including CSS-pixel and device-pixel scaling. Playwright screenshot documentation.
capture-website Node.js workflows that need configurable captures from a URL or local input. Documents width, height, output type, scaleFactor, device emulation, fullPage, and lazy-content preload options; its documented scaleFactor default is 2. Project documentation.
Capture.page Hosted captures when you prefer not to manage browser automation. Documents viewport dimensions, scaleFactor, and full-page capture. Commercial terms and service reliability are not established here. Documentation.

These approaches represent different trade-offs: local browser control versus hosted convenience, automation integration versus one-off capture, and small framed output versus a full-page image. The right choice depends on your portfolio volume and deployment setup.

Or skip the browser setup

ScreenshotNeo is a screenshot API and MCP server for developers. Cookie banners are accepted and removed along with 60+ known consent platforms, newsletter popups, and chat widgets before the shot; these steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. AI agents using Claude, Cursor, or another MCP client can use its screenshot tools.

For a 1200 × 750 preview, set the viewport and scale in the request as described in the ScreenshotNeo documentation. Basic one-call request:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Replace the target URL with the site you want to capture and configure the viewport and output settings for your card. ScreenshotNeo includes 1,000 screenshots per month free with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting retina thumbnails

The image looks no sharper than a standard screenshot

Check that the capture scale is set above 1 and that the portfolio displays the image at half its raster width and height. Confirm the image has not been resized downward earlier in your processing pipeline.

The page layout changes between projects

Use a consistent CSS viewport. Scale affects output pixel density, not the responsive breakpoint; changing viewport width can move a site into a different layout.

Lazy-loaded images or content are missing

Wait for the page to load and trigger lazy loading before capture. For long pages, scroll through the content or use the capture tool’s documented preload option when available.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A full-page capture repeats or becomes unwieldy

Very tall captures can hit the Chromium limitation documented by capture-website: above 16384 pixels, content may repeat. Use viewport capture, limit the region, or capture sections separately.

Files are larger than the portfolio needs

Use the lowest scale that looks sharp at the intended display size, and select among PNG, JPEG, and WebP according to the visual content and delivery requirements. Higher scale factors create larger raster dimensions; review the final image and loading impact in your actual layout.

Frequently asked questions

Does 2× mean the site is rendered at twice the CSS viewport width?

No. It keeps the CSS viewport and responsive layout while producing twice as many output pixels along each dimension.

Should every portfolio thumbnail be full-page?

No. A viewport or element capture is usually a better fit for uniform project cards; choose full-page when the entire page is what the preview needs to communicate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.