Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk3 min

How to Capture a Webpage Screenshot with URLbox at Mobile Viewport Width

Set URLbox’s viewport width and height explicitly to capture a mobile-width webpage. Learn how dimensions differ from user-agent and retina settings.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture a webpage at mobile viewport width with URLbox, set the render’s width and height explicitly. For example, URLbox’s quick start uses 390 × 844 pixels; these are example viewport dimensions, not a universal phone size. A narrow viewport controls the page’s layout space, while a mobile user-agent is a separate setting that changes the browser identity the page receives.

Set the URLbox viewport dimensions

URLbox’s documented default viewport is 1280 × 1024 pixels, so omitting the dimensions will not produce a mobile-width layout. Set width to the desired viewport width in pixels and height to the desired viewport height.

As an Amazon Associate I earn from qualifying purchases.

This quick-start-shaped render link illustrates the settings with URLbox’s example dimensions:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

https://api.urlbox.com/v1/{api-key}/png?url=github.com&width=390&height=844

#1 Best Overall
Sale
BenQ GW2790C 27" IPS Computer Montior 1080P FHD 144Hz Game-Ready, Home Office, USB-C, Visual Optimizer, Flicker-Free, Low Blue Light, Ultra Slim Bezel, TUV-Certified, Eye-CareU
  • 【Designed for Comfortable All-Day Productivity】 Enhance your workflow with a 24-inch IPS eye care monitor built for home office, study, and daily tasks, featuring BenQ Eye-Care technologies to reduce eye strain during extended screen time.
  • 【USB-C One-Cable Convenience】 Connect your laptop or MacBook with a single USB-C cable for video, data, and power delivery, reducing cable clutter and simplifying your workspace
  • 【Smooth 144Hz for Better Work Experience】 Enjoy smoother scrolling, reduced motion blur, and more responsive multitasking compared to standard 60Hz monitors—perfect for long work sessions and Gaming!
  • 【Built for Business & Office Deployment】 Designed for corporate offices, remote teams, and large-scale workstation setups. Reliable performance and consistent display quality make it ideal for IT deployment and bulk purchasing
  • 【Energy Efficient & Certified Sustainability】 Reduce energy consumption and lower operating costs—an efficient choice for businesses and users running monitors for extended hours

Replace {api-key} with the project’s API key and github.com with the target page. The 390 × 844 values are URLbox’s example, not a claim that all phones use those dimensions. See URLbox’s Quick Start and Render Options.

Choose whether the page should receive a mobile user-agent

Viewport size and user-agent answer different questions. The viewport dimensions determine the available layout space; URLbox’s mobile user-agent option supplies a modern iPhone/Safari user-agent string. Use the option when you want the site to respond to a mobile browser identity as well as a narrow viewport. It is not a substitute for setting width and height.

Rank #2
Sale
MNN 15.6" FHD 60Hz Portable Monitor USB-C HDMI IPS HDR Gaming Laptop
  • Full HD Portable Monitor - MNN 15.6inch portable laptop monitor with 1920*1080 resolution, advanced IPS glossy screen support 178° full viewing angle, it renders accurate and bright color, draws you into the video or game with lifelike colors and amazing detail.It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time.A second monitor for working from home.
  • Double Type-C Port -For Plug & Play, the MNN monitor provides 2 Full Feature Type-C ports. Only One USB Type-C Cable is required to connect to the power supply & display signal transmission. NOTE: Your device should support thunderbolt 3.0 or USB 3.1 Type C DP ALT-MODE.which supports multiple connect ways to your laptops, PC, Phones, Macbooks, PS5/PS4, Xbox, and Switch.
  • Lightweight Ultra Slim for Travel - As a portable external monitor,MNN portable laptop monitor easily accommodate to every suitcase and backpack and stress-free when you are holding it for a long time. They are truly portable computer monitors for travelers, students, gamers,engineers, and everyone.
  • Give consideration to work and games - through multiple display modes [Copy Mode/Extended Mode/Second Screen Mode/Portrait Mode], we can bring you a clear second screen in the meeting, and expand the screen anytime and anywhere to improve work efficiency and improve the quality of life. Adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights,deeper and more realistic colors, more realistic images, and amazing viewing/gaming experience.
  • Powerful Smart Cover - MNN portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection for this portable computer monitor.

Use authentication safely for production captures

For secure render links, URLbox’s quick start describes a token generated as HMAC-SHA256 of the query options, signed with the secret key. The API reference also documents bearer-secret authentication for API requests. Keep the secret key out of public client-side code; generate signed requests in a trusted server-side environment. Check the Quick Start and API Reference for the method that matches your integration.

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

Use the synchronous render API when you need a render response

URLbox documents a POST request to /v1/render/sync with a URL or HTML, output format, and desired dimensions. Once the render is generated, the response includes a renderUrl and its size. The temporary render URL expires after 30 days, so store or retrieve the output in a way that fits your retention needs. Refer to the API Reference for request details.

Rank #3
ViewSonic VA2448-MHU 24 Inch 1080p IPS Computer Monitor, 120Hz, USB C
  • VERSATILE FULL HD IPS DISPLAY: This 24 inch computer monitor combines 1080p resolution, a 120Hz refresh rate, 1ms response time, and 300-nit brightness for fluid everyday work, streaming, study, and home office use.
  • USB C CONNECTIVITY: USB C, HDMI, and VGA give this 24 inch monitor flexible connections for compatible laptops, PCs, and Macs while helping simplify a modern home office, school, business, or study setup.
  • VARIABLE REFRESH RATE: Adaptive display technology helps this 120Hz monitor reduce tearing and provide smoother movement during scrolling, video playback, multimedia, and compatible casual gaming.
  • FRAMELESS DESIGN AND EYE CARE: Thin bezels and Eye Care features make this desktop monitor practical for single- or multi-display workspaces and more comfortable for extended productivity, research, and viewing sessions.
  • BUILT-IN AUDIO: Dual speakers add convenient sound to this PC monitor, supporting meetings, videos, training, and multimedia without separate desktop speakers while remaining compatible with laptop, PC, and Mac systems.

Understand related image options

  • thumb_width: Resizes the generated image; it does not make the browser viewport narrower. Set width for mobile layout dimensions.
  • retina=true: Requests a high-definition capture equivalent to device pixel ratio 2.0 (@2x). URLbox notes that output dimensions double and processing may take longer. Retina affects pixel density, not the page’s CSS viewport.
  • Mobile user-agent: Changes the supplied browser identity string, not viewport dimensions.

These options can be combined when appropriate: viewport dimensions control layout, user-agent controls browser identity, and retina controls output pixel density. URLbox documents these behaviors in its Render Options.

Check and troubleshoot the result

  • The page still looks like desktop: Confirm that width is set to the intended narrow viewport. URLbox defaults to 1280 × 1024, so omitted dimensions leave a wide layout.
  • The page behaves differently from a phone browser: A narrow viewport alone does not set a mobile user-agent. Decide whether to enable URLbox’s mobile option as well.
  • The image has the wrong pixel dimensions: Review both viewport dimensions and whether retina=true is enabled. Retina doubles the output dimensions; it does not change the viewport.
  • The temporary render link no longer works: URLbox documents a 30-day expiry for the temporary renderUrl. Generate another render or retain the output through an appropriate storage workflow.
  • A signed link or API request is rejected: Verify that the authentication method matches the request type, that the query options used for signing are correct, and that the secret has not been exposed or misplaced. URLbox documents secure render-link tokens and bearer-secret API authentication separately.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo provides a one-request screenshot API if you would rather not configure a browser-rendering workflow. This example saves a WebP screenshot of the target URL; see the ScreenshotNeo documentation for request options.

Rank #4
Sale
BenQ GW2490C 23.8" IPS Computer Montior 1080P FHD 144Hz Game-Ready, Home Office, USB-C, Visual Optimizer, Flicker-Free, Low Blue Light, Ultra Slim Bezel, TUV-Certified, Eye-CareU
  • 【Designed for Comfortable All-Day Productivity】 Enhance your workflow with a 24-inch IPS eye care monitor built for home office, study, and daily tasks, featuring BenQ Eye-Care technologies to reduce eye strain during extended screen time.
  • 【USB-C One-Cable Convenience】 Connect your laptop or MacBook with a single USB-C cable for video, data, reducing cable clutter and simplifying your workspace
  • 【Smooth 144Hz for Better Work Experience】 Enjoy smoother scrolling, reduced motion blur, and more responsive multitasking compared to standard 60Hz monitors—perfect for long work sessions and Gaming!
  • 【Built for Business & Office Deployment】 Designed for corporate offices, remote teams, and large-scale workstation setups. Reliable performance and consistent display quality make it ideal for IT deployment and bulk purchasing
  • 【Energy Efficient & Certified Sustainability】 Reduce energy consumption and lower operating costs—an efficient choice for businesses and users running monitors for extended hours

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://github.com -o shot.webp

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

ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots, and the free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo’s free plan.

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
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

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.