Repository navigation
v1.1
Screenshot Plugin for FM-DX-Webserver
This plugin generates screenshots of the web server.
Version 1.1 (only works from web server version 1.3.5!!!)
- Design adjustments for web server version 1.3.5
Installation notes:
- Download the last repository as a zip
- Unpack all files from the plugins folder to ..fm-dx-webserver-main\plugins\
- Stop or close the fm-dx-webserver
- Start/Restart the fm-dx-webserver with "npm run webserver" on node.js console, check the console informations
- Activate the Screenshot plugin in the settings
- Stop or close the fm-dx-webserver
- Start/Restart the fm-dx-webserver with "npm run webserver" on node.js console, check the console informations
Configuration options:
The following variables can be changed in the header of the screenshot.js:
const defaultWidth = 1280; // default is: 1280
const defaultHeight = 920; // default is: 920
const defaultTimeout = 1000; // default is: 1000
Important notes:
- The plugin only works for publicly accessible web servers!!!
- The loading time of the screenshot depends on the number of elements (installed plugins)
- Since the screenshot is created by reloading the web server on the server side, only the elements that are active when loading are displayed
History
Version 1.0
- https and local network support
- PNG filename with metadata
- External server creates the snapshots (all plattforms are supported!)
