new

tvpreview

Adds preview images to TV fields.
Free
Download the package from the manager of your site.
How to download?
Packages
3
Downloads
116
Автор дополнения
Packages
3
Downloads
116
Version 1.0.0-pl
Release date 04.08.2026
Downloads 1
Views 96
Warning! This component requires PHP 8.2 or higher!
Warning! This package requires MODX 3 or higher.
Adds preview images to TV fields. Content managers see a visual hint when editing resources — they instantly understand
which block they are filling.

Full description

TV Preview adds a new «Preview» field to the TV (Template Variable) editing form in the MODX 3 manager. It allows you to
attach a preview image to any TV, which is then displayed when editing a resource.

The component solves a common problem: content managers don't know which block on the website a particular TV field
corresponds to. With TV Preview, a screenshot or mockup of the block is shown under each TV label — making it immediately
clear what needs to be filled in.

## Features

— New «Preview» field on the «General Information» tab when editing a TV
— Image selection via the built-in MODX file browser
— Preview image displayed under the TV label on the resource editing page
— Configurable image height via system settings
— Click the preview to open the full-size image in a new tab
— Supports unlimited TVs with previews on a single page
— Interface localization (English, Russian)
— Does not modify any MODX core files

## How it works

1. Open any TV in the manager
2. On the «General Information» tab, find the «Preview» field
3. Click «Browse», select an image, and save
4. Open a resource that uses this TV — a preview image appears under the field label

## System Settings

tvpreview.preview_height — 200 — Preview image height (in pixels) on the resource page

## Requirements

— MODX Revolution 3.2