Skip to content

v1.2

Choose a tag to compare

@Highpoint2000 Highpoint2000 released this 06 Mar 12:53
· 9 commits to main since this release

Screenshot Plugin for FM-DX-Webserver

This plugin generates screenshots of the web server.

image

Version 1.2 (only works from web server version 1.3.5!!!)

  • Screenshot button now works again with a short press

Installation notes:

  1. Download the last repository as a zip
  2. Unpack all files from the plugins folder to ..fm-dx-webserver-main\plugins\
  3. Stop or close the fm-dx-webserver
  4. Start/Restart the fm-dx-webserver with "npm run webserver" on node.js console, check the console informations
  5. Activate the Screenshot plugin in the settings
  6. Stop or close the fm-dx-webserver
  7. 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.1 (only works from web server version 1.3.5!!!)

  • Design adjustments for web server version 1.3.5

Version 1.0

  • https and local network support
  • PNG filename with metadata
  • External server creates the snapshots (all plattforms are supported!)