Skip to content

Adds an image and PDF viewer button to the ProcessMaker multiple file control using ViewerJS and Viewer.js

Notifications You must be signed in to change notification settings

dipolediamond/pm-multi-file-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Image and PDF Viewer for Processmaker Multiple File Control

This adds a view button for image and PDF files uploaded to ProcessMaker using the multiple file control.

The image viewer uses Viewer.js by Chen Fengyuan

The PDF viewer uses ViewerJS by KO GmbH

How to use

  1. Download the repo as a zip file and copy the Viewers folder to the ProcessMaker public folder e.g. /opt/processmaker/workflow/public_html
  2. In the dynaform with the multiple file control, add the path to the Viewers.js file (/Viewers/viewers.js) to the external lib property of the dynaform.
  3. Edit the JavaScript of the dynaform and invoke the addViewers function
ImageAndPDFViewer.addViewers();

About

Adds an image and PDF viewer button to the ProcessMaker multiple file control using ViewerJS and Viewer.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages