The documented ShrinkTheWeb thumbnail workflow for Drupal is: configure account credentials and a local thumbnail cache, set capture options, then render screenshots through a field formatter or Drupal theme integration. The available setup guide is for Drupal 8 and was last updated on 4 March 2019, so treat its settings and code as historical until you verify current module and service support.
What the historical integration does
The Drupal 8 guide describes using ShrinkTheWeb to generate screenshots of website URLs and display those images as thumbnails in Drupal. The module connects Drupal to the hosted service; Drupal configuration supplies the credentials and cache settings, while field formatters provide the basic way to render thumbnails. For advanced cases, the guide shows passing options through a PHP render array.
As an Amazon Associate I earn from qualifying purchases.
This is not a confirmed current setup recipe. Drupal.org’s ShrinkTheWeb project page said on 31 January 2022 that the module appeared no longer supported. That notice concerns the Drupal module, not whether ShrinkTheWeb itself is operating. The old documentation does not establish current service availability, API endpoints, authentication, pricing, or compatibility with current Drupal releases. Check the Drupal 8 setup and usage guide and the module project page, then confirm current details with the service before implementing it.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchHistorically documented setup sequence
- Register for ShrinkTheWeb. The guide begins with creating a service account. It does not establish whether registration is currently available.
- Retrieve the account keys. The historical instructions call for an access key and a secret key. Do not assume those credentials or their handling remain part of the current service.
- Configure the Drupal module. Enter the credentials in the module’s ShrinkTheWeb settings.
- Set the thumbnail cache. Choose the directory where Drupal stores generated thumbnails and how long a cached image remains unchanged. A cache can avoid repeated work for the same URL until its configured freshness period expires; confirm the module’s present cache and refresh behavior before relying on it.
- Choose any capture parameters. Configure global defaults for repeated thumbnails, or use per-request options where individual pages need different dimensions or rendering behavior.
- Render the image. Use a field formatter for ordinary content display, or the guide’s theme/render-array pattern when you need request-specific control.
Choose global defaults or per-request options
The Drupal guide distinguishes settings that apply broadly from parameters supplied for an individual screenshot. That is useful when most thumbnails share a standard shape but a small number of pages need a different crop or capture delay. The guide documents the following names and behaviors as historical examples only; confirm their current equivalents before using them.
#1 Best Overall
| Need | Historical option or setting | What to verify |
|---|---|---|
| Set a thumbnail’s width | custom_width |
Accepted width units, limits, and whether the option remains supported. |
| Capture a long page | full_length |
Whether full-page capture is available and how very long pages are handled. |
| Limit the captured height | max_height |
Whether height is cropped or otherwise constrained, and the accepted values. |
| Set the browser viewport | widescreen_resolution_y; the guide also refers to viewport dimensions |
The current parameter names and supported viewport sizes. |
| Wait before capturing | delay |
Units, allowable range, and how the delay interacts with page loading. |
| Adjust image output quality | quality |
Supported output formats, value range, and whether quality applies to the selected format. |
| Use native-resolution capture | native_resolution |
Whether the option is still offered and what it changes in the output. |
The guide notes that some optional capabilities depended on account upgrades. It does not establish which options or account tiers are currently available.
Drupal rendering patterns shown in the guide
Basic use: field formatter
For ordinary content, the documented path is to configure the module and use its field formatter to display a screenshot from a URL field. This keeps repeated presentation settings in Drupal configuration instead of embedding custom capture parameters in each template. The historical guide also demonstrates the shrinktheweb_image theme hook for rendering a URL.
Rank #2
Advanced use: per-request render array
When a particular thumbnail needs a different size or capture behavior, the guide shows using a PHP render array and passing options such as custom_width, full_length, max_height, native_resolution, widescreen_resolution_y, delay, and quality. The available source does not provide a verified, current module release or compatibility matrix from which to give a safe runnable snippet for today’s Drupal versions. Use the guide’s example only after confirming that the module, theme hook, option names, and Drupal version match your installation.
Free tools Windows power users keep installed
One-click scans. No signup required.
Cache, freshness, and maintenance checks
- Cache location: verify that the configured directory exists, is writable by the Drupal process, and is appropriate for generated image files.
- Cache duration: choose a duration that balances fewer repeated captures against the need for thumbnails to reflect source-site changes. The historical guide documents a duration setting but does not establish current invalidation semantics.
- Refresh behavior: the Drupal project page lists refresh-all functionality among historical features. Confirm whether your installed version actually provides it and what it refreshes.
- Protocol handling: the project page also lists HTTP/HTTPS handling as a historical feature. Test the URL schemes your site needs rather than assuming all redirects or protocols work.
- Notifications: callbacks are also listed among historical module features. Verify their present availability and behavior before making them part of an operational workflow.
- Support compatibility: check the module’s release and maintenance status against the Drupal version you run. The separate Website Screenshot project page lists ShrinkTheWeb as one of its screenshot engines, but it is a different project; its metadata, updated 6 February 2024, reported no currently supported stable releases. It is not current vendor documentation.
Troubleshooting the documented workflow
The historical sources do not provide a current error catalog. These checks follow from the documented configuration stages; diagnose them against the exact module and service versions you have verified.
- No thumbnail appears: confirm the formatter or theme rendering path is configured, the URL is available to the service, and Drupal can write to the cache directory.
- Credentials are rejected: re-check the configured keys, then confirm with current vendor documentation whether the service still uses the historical access-key and secret-key model.
- Changes to a source page do not appear: inspect the cache duration and any verified refresh function. An existing cached thumbnail may remain until its freshness window ends.
- Dimensions or cropping differ from expectation: verify current parameter names and whether a setting is global or passed per request; the guide’s option names may no longer match the service.
- Results vary on pages that load slowly: the guide documents a delay option, but its current units and behavior are not established. Validate supported wait controls before increasing delays or assuming they guarantee all page content has loaded.
- The integration fails after a Drupal upgrade: check module support for that Drupal release before debugging service credentials. The dated unsupported-status notice makes version compatibility a key risk.
Or skip the browser setup
If you need a currently documented screenshot API rather than maintaining a legacy Drupal integration, ScreenshotNeo is an option to try first: it provides a one-request screenshot API and an MCP server for AI agents. Its API returns PNG, JPEG, WebP, or PDF; its documented workflow removes cookie/consent banners, newsletter popups, and chat widgets before capture, with each step configurable. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and responses identify the page verdict and billing status in headers. The historical ShrinkTheWeb guide does not establish equivalent current behavior, pricing, or service status.
Use a GET request to capture a URL; see the ScreenshotNeo API documentation for current parameters and response details.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
ScreenshotNeo includes an MCP server with take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots. Sign up for ScreenshotNeo and get 1,000 screenshots a month free, with no card.
Rank #4
Frequently Asked Questions
Does the Drupal module status notice mean ShrinkTheWeb has shut down?
No. The Drupal.org notice dated 31 January 2022 concerns the module’s support status; it does not establish whether the separate ShrinkTheWeb service is operating.
Can I use the historical Drupal 8 instructions unchanged on a current Drupal site?
The sources do not establish compatibility with current Drupal releases. Confirm module maintenance, version compatibility, and the current service API before implementation.
Quick Recap
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.




