Title: CCTV Lens Calculator
Author: Patrick Groot
Published: <strong>September 27, 2016</strong>
Last modified: August 16, 2025

---

Search plugins

![](https://ps.w.org/lens-calculator/assets/banner-772x250.jpg?rev=3345662)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/lens-calculator/assets/icon-128x128.jpg?rev=3345662)

# CCTV Lens Calculator

 By [Patrick Groot](https://profiles.wordpress.org/patrickgroot/)

[Download](https://downloads.wordpress.org/plugin/lens-calculator.2.0.6.zip)

 * [Details](https://wordpress.org/plugins/lens-calculator/#description)
 * [Reviews](https://wordpress.org/plugins/lens-calculator/#reviews)
 *  [Installation](https://wordpress.org/plugins/lens-calculator/#installation)
 * [Development](https://wordpress.org/plugins/lens-calculator/#developers)

 [Support](https://wordpress.org/support/plugin/lens-calculator/)

## 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.

## Screenshots

[⌊[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.⌉⌊[
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.⌉[

**`[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.

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

**`[height-calculator]`** This shortcode shows only the “Calculation to object height”
form.

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

**`[width-calculator]`** This shortcode shows only the “Calculation to object width”
form.

## Installation

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!

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CCTV Lens Calculator” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Patrick Groot ](https://profiles.wordpress.org/patrickgroot/)
 *   [ Simon Kraft ](https://profiles.wordpress.org/krafit/)
 *   [ barnez ](https://profiles.wordpress.org/pidengmor/)

“CCTV Lens Calculator” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/lens-calculator/contributors)
for their contributions.

[Translate “CCTV Lens Calculator” into your language.](https://translate.wordpress.org/projects/wp-plugins/lens-calculator)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lens-calculator/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/lens-calculator/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lens-calculator/)
by [RSS](https://plugins.trac.wordpress.org/log/lens-calculator/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.

## Meta

 *  Version **2.0.6**
 *  Last updated **1 year ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.3 or higher **
 *  Tested up to **6.8.8**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/lens-calculator/), [English (UK)](https://en-gb.wordpress.org/plugins/lens-calculator/),
   [English (US)](https://wordpress.org/plugins/lens-calculator/), and [German](https://de.wordpress.org/plugins/lens-calculator/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/lens-calculator)
 * Tags
 * [cctv](https://wordpress.org/plugins/tags/cctv/)[security camera](https://wordpress.org/plugins/tags/security-camera/)
   [tools](https://wordpress.org/plugins/tags/tools/)
 *  [Advanced View](https://wordpress.org/plugins/lens-calculator/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/lens-calculator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lens-calculator/reviews/)

## Contributors

 *   [ Patrick Groot ](https://profiles.wordpress.org/patrickgroot/)
 *   [ Simon Kraft ](https://profiles.wordpress.org/krafit/)
 *   [ barnez ](https://profiles.wordpress.org/pidengmor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lens-calculator/)