Websolutions AgencyLet’s build what’s next

DRUPAL MODULE / MEDIA & PUBLISHING

PDF JS

Brings a PDF.js viewer to Drupal 8 file fields, with controls for downloading, fullscreen display and zoom.

What it does.

PDF JS connects a PDF.js viewer to Drupal file fields. The official formatter source exposes a dedicated viewer display, allowing attached PDF content to open through a viewer-oriented interface.

Site builders can configure whether the viewer provides download, fullscreen and zoom controls. The formatter also offers a link label, additional CSS classes and attributes for fitting the viewer link into the surrounding page.

Capabilities.

  • PDF.js viewer formatter for file fields
  • Download, fullscreen and zoom controls
  • Configurable viewer-link label
  • Additional link classes and attributes

Using the module.

  1. On the documented Drupal 8 implementation, choose PDF.js Viewer for a file field’s display.
  2. Configure the available controls and link presentation in the formatter settings.
Open the official project

Project notes.

The Drupal.org page has no prose description. These details are inferred from official module metadata and formatter code.

No recommended release appears in the project listing.

Our contribution.

Listed supporting organization.

This records WS’s contribution to this community project, alongside its other contributors. View the organization’s supported projects ↗

Original sources.

YOUR NEXT CHAPTER STARTS HERE

GOOD PEOPLE. AMBITIOUS PROBLEMS.
Let’s make
what’s next.

Bring the ambition.
We’ll bring the architecture.

Start a conversation