CCTV Lens Calculator

Plugin Banner

CCTV Lens Calculator

by Patrick Groot

Download
Description

CCTV Lens Calculator

The lens calculator can be applied in two ways. You can determine the distance to the object by using the total width of the object, or the total height of the object. The size of the CCD or CMOS element is usually displayed on the camera’s specifications.

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/lens-calculator directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Done!
  1. <strong><code>[full-calculator]</code></strong> This shortcode shows both "Calculation to object width, Calculation to object height" forms and a short description off the purpose of those tools.

    [full-calculator] This shortcode shows both "Calculation to object width, Calculation to object height" forms and a short description off the purpose of those tools.

  2. <strong><code>[height-calculator]</code></strong> This shortcode shows only the "Calculation to object height" form.

    [height-calculator] This shortcode shows only the "Calculation to object height" form.

  3. <strong><code>[width-calculator]</code></strong> This shortcode shows only the "Calculation to object width" form.

    [width-calculator] This shortcode shows only the "Calculation to object width" form.

How to use this plugin on my WordPress powered website?

You can use the following shortcodes for displaying the lens calculator.

  1. [full-calculator] This shortcode shows both “Calculation to object width, Calculation to object height” forms and a short description off the purpose of those tools.
  2. [width-calculator] This shortcode shows only the “Calculation to object width” form.
  3. [height-calculator] This shortcode shows only the “Calculation to object height” form.

2.0.5

  • Fix workflows and releases to github and wordpress.org

2.0.1

  • Update release workflow.

2.0.0

  • Update multi lang readme.
  • Plugin rewrite.
  • Added more sensors for CCTV lenses.
  • Added unit tests js.
  • Added unit tests php.
  • Added e2e tests.
  • Added release workflow.

1.2.0

  • Conditionally load stylesheet and javascript.

1.1.0

  • Rewrite plugin and shortcodes preventing errors in gutenberg and markup.

1.0.3

  • Small changes made to form and fields.

1.0.2

  • A small rewrite on some parts of the plugin with some additional fixes.

1.0.1

  • Plugin small fix in the link structure of js/css.

1.0

  • Initial version.
Back to top