PHPackages                             dd/evolutioncms-plugins-managermanager-mm\_widget\_showimagetvs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. dd/evolutioncms-plugins-managermanager-mm\_widget\_showimagetvs

ActiveLibrary[Image &amp; Media](/categories/media)

dd/evolutioncms-plugins-managermanager-mm\_widget\_showimagetvs
===============================================================

A widget for ManagerManager plugin that allows the preview of images chosen in image TVs to be shown on the document editing page.

1.3.0(5y ago)001[1 PRs](https://github.com/DivanDesign/EvolutionCMS.plugins.ManagerManager.mm_widget_showimagetvs/pulls)JavaScriptPHP &gt;=5.4.0

Since Nov 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/DivanDesign/EvolutionCMS.plugins.ManagerManager.mm_widget_showimagetvs)[ Packagist](https://packagist.org/packages/dd/evolutioncms-plugins-managermanager-mm_widget_showimagetvs)[ Docs](https://code.divandesign.biz/modx/mm_widget_showimagetvs)[ RSS](/packages/dd-evolutioncms-plugins-managermanager-mm-widget-showimagetvs/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (1)Versions (3)Used By (0)

(MODX)EvolutionCMS.plugins.ManagerManager.mm\_widget\_showimagetvs
==================================================================

[](#modxevolutioncmspluginsmanagermanagermm_widget_showimagetvs)

A widget for ManagerManager plugin that allows the preview of images chosen in image TVs to be shown on the document editing page.

Emulates the ShowImageTVs plugin, which is not compatible with ManagerManager.

Requires
--------

[](#requires)

- PHP &gt;= 5.4
- [(MODX)EvolutionCMS.plugins.ManagerManager](https://code.divandesign.biz/modx/managermanager) &gt;= 0.7

Documentation
-------------

[](#documentation)

### Installation

[](#installation)

To install you must unzip the archive to `/assets/plungins/managermanager/widgets/showimagetvs/`.

You may also read this documentation:

- [(MODX)EvolutionCMS.plugins.ManagerManager](https://code.divandesign.biz/modx/managermanager).
- [(MODX)EvolutionCMS.modules.ddMMEditor](https://code.divandesign.biz/modx/ddmmeditor).

### Parameters description

[](#parameters-description)

- `$params`

    - Desctription: Parameters, the pass-by-name style is used.
    - Valid values:
        - `stdClass`
        - `arrayAssociative`
    - Default value: `[]`
- `$params->fields`

    - Desctription: The names of TVs for which the widget is applied.
    - Valid values:
        - `stringCommaSeparated`
        - `''` — empty value means the widget is applying to all TVs
    - Default value: `''`
- `$params->maxWidth`

    - Desctription: Preferred maximum width of the preview.
    - Valid values: `integer`
    - Default value: `300`
- `$params->maxHeight`

    - Desctription: Preferred maximum height of the preview.
    - Valid values: `integer`
    - Default value: `100`
- `$params->thumbnailerUrl`

    - Desctription: If you have PHPThumb installed (for example through Maxigallery or phpthumb plugins/snippets), use this to make thumbnails rather than resizing the image previews via CSS.
        Particularly useful if you are using very large pictures, which would take a long time to download.
    - Valid values: `string`
    - Default value: —
- `$params->roles`

    - Desctription: The CMS user roles that the widget is applied to.
    - Valid values:
        - `stringCommaSeparated`
        - `''` — when this parameter is empty then widget is applied to the all roles
    - Default value: `''`
- `$params->roles[i]`

    - Desctription: CMS user role.
    - Valid values: `integer`
    - **Required**
- `$params->templates`

    - Desctription: Document templates IDs for which the widget is applying to.
    - Valid values:
        - `stringCommaSeparated`
        - `''` — empty value means the widget is applying to all templates
    - Default value: `''`
- `$params->templates[i]`

    - Desctription: Templates ID.
    - Valid values: `integer`
    - **Required**

### CMS events

[](#cms-events)

- `OnDocFormPrerender`
- `OnDocFormRender`

### Examples

[](#examples)

#### Add an image preview to every image-type template variable

[](#add-an-image-preview-to-every-image-type-template-variable)

```
mm_widget_showimagetvs();
```

#### Add a 150 × 150 px image preview to every image-type template variable

[](#add-a-150--150-px-image-preview-to-every-image-type-template-variable)

```
mm_widget_showimagetvs([
	'maxWidth' => 150,
	'maxHeight' => 150
]);
```

#### Add an image preview to the `mypic` template variables in template `2`, resized to 300 × 200 px using phpthumb at the URL supplied

[](#add-an-image-preview-to-the-mypic-template-variables-in-template-2-resized-to-300--200-px-using-phpthumb-at-the-url-supplied)

```
mm_widget_showimagetvs([
	'fields' => 'mypic',
	'maxWidth' => 300,
	'maxHeight' => 200,
	'thumbnailerUrl' => '/assets/snippets/phpthumb/phpThumb.php',
	'templates' => '2'
]);
```

Links
-----

[](#links)

- [Home page](https://code.divandesign.biz/modx/mm_widget_showimagetvs)
- [Telegram chat](https://t.me/dd_code)
- [Packagist](https://packagist.org/packages/dd/evolutioncms-plugins-managermanager-mm_widget_showimagetvs)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09b81986267e62b5fde1473b40aa6f11f7bc26c1c29d5f80f2768c8788e08110?d=identicon)[dd](/maintainers/dd)

---

Top Contributors

[![Ronef](https://avatars.githubusercontent.com/u/1333424?v=4)](https://github.com/Ronef "Ronef (14 commits)")[![Segr](https://avatars.githubusercontent.com/u/3256443?v=4)](https://github.com/Segr "Segr (1 commits)")

---

Tags

modxMODX Evoevoimage-previewevolution-cmsmodx evolutionevo cmsevolutioncmsdivandesigndd studiodd groupmmmanagermanagermm widgetmm\_widget\_showimagetvsimage tv

### Embed Badge

![Health badge](/badges/dd-evolutioncms-plugins-managermanager-mm-widget-showimagetvs/health.svg)

```
[![Health](https://phpackages.com/badges/dd-evolutioncms-plugins-managermanager-mm-widget-showimagetvs/health.svg)](https://phpackages.com/packages/dd-evolutioncms-plugins-managermanager-mm-widget-showimagetvs)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
