What this solution does
MediaControl — website file usage search and safe replacement
When a new certificate is ready, it is often unclear which products still use the old one. MediaControl shows found connections and allows replacing the file at the original address after preview and confirmation.
UNIFIED CATALOG
Images, PDFs, and other registered website files are listed together. Search is available by name and note, with filters for type and virtual folder. Nested folders up to five levels deep do not move files on the disk or change their URLs.
FILE USAGE ANALYSIS
The module checks standard images and text within elements and sections, as well as "File" and "HTML/text" properties of information blocks. Both shared and separate property storage modes are supported. Exact connections by ID and mentions of local URLs in text are displayed separately. From the results, you can open the relevant material in the administrative interface.
REPLACEMENT WITH PREVIEW
After completing the usage check, upload a file of the same MIME type, compare the original and new content, and confirm the replacement. IDs and URLs will be preserved. Before confirmation, the first found connections are shown; the full list is available in the check tab.
VERSIONS AND RESTORATION
The MediaControl module by Iskar Business Systems enables finding file connections and replacing files while preserving original URLs. The system stores change history in the site database, keeping the last 10 versions of each modified file. A preview function allows downloading and restoring files. If a replacement process is interrupted, the system verifies checksums to prevent overwriting unknown content.
Typical use cases include updating certificates in product cards, replacing banners while keeping their addresses, finding mentions of instructions in articles, and organizing documents into virtual folders with internal notes.
In the first version, file replacement is limited to local files in JPG, JPEG, PNG, WebP, and PDF formats up to 10 MB located in the main, iblock, fileman directories, or in systems without the module. Cloud files, symbolic and hard links, shared physical copies, standard duplicates, CFile versions, files from other modules, and files in disk quota mode are not supported for replacement. Files of other formats remain in the directory unchanged.
The search function does not cover templates, PHP code, user fields, HL blocks, CRM, or third-party tables. The absence of search results does not prove that a file is unused. URL mentions require manual verification at the source. Automatic file deletion is not supported.
A single check processes up to 200 information blocks, 2,000 matching properties, 1,000,000 records, and returns up to 20,000 results. Text data exceeding 1 MB is marked as skipped; an incomplete check blocks the replacement operation. To execute a replacement, the administrator check must be no older than one hour. The history and drafts storage reserves 256 MB of source data; the actual database size is larger due to base64 encoding and indexes. Drafts remain valid for one hour.
Standard file thumbnails, the CFile cache, and the tag cache of found information blocks are cleared during replacement. Browser cache, CDN, composite HTML, and third-party component caches may require separate updates.
The module operates without external APIs or paid service subscriptions. Access is restricted to full administrators. Requirements include Bitrix24 version 23.0 or higher, the Information Blocks module, PHP 8.2+ (64-bit), UTF-8 encoding, MySQL or MariaDB database with the InnoDB engine, and the installed extensions mbstring, fileinfo, and JSON. Always create a backup of the site and database before performing a replacement.
Screenshots show real PHP interface screens of the module using local demonstration data without the Bitrix core installed.
General iT can connect “MediaControl — find links and replace the file without losing the URL”, install and configure the module, and make sure the integration works correctly.