What this solution does
The module assembles images from layers with live preview, inserts data from information blocks, applies PHP transformations, and saves the result to the product card or an information block property for further use on marketplaces, advertising systems, and other services.
Each marketplace has specific image requirements: Ozon requires a white background with characteristic text, Wildberries needs infographics highlighting benefits, and Yandex.Market demands clean photos with branding. Manually processing a large catalog in graphic editors is time-consuming and resource-intensive.
The module automates this process: a template is configured once within the Bitrix admin panel, after which the system generates images for all products by automatically inserting the name, characteristics, and detailed photos.
The visual template editor allows creating a layout in minutes without programming skills. Users can add layers, reorder them, and disable unnecessary elements.
Instant preview displays the result in real time directly within the layer editor, without leaving the admin panel.
Layer-based image generation module for marketplaces. Includes built-in size presets for Ozon (700×933), Wildberries (900×1200), Yandex.Market (1040×1440), and Avito (1280×960), plus the ability to set custom dimensions.
Supports seven layer types: background, local image, detailed product photo, image from a property, static text, text from an infoblock property, and PHP expression. Conditional logic allows layers to display based on specific property values; for instance, a 'Hit' badge appears only for products with the 'bestseller' property.
The built-in background removal algorithm uses per-channel RGB tolerance and edge smoothing to remove up to two colors simultaneously. Region masking is available to hide rectangular areas on detailed photos.
Automated generation is configured via a scheduler with intervals (hourly, daily, weekly), executed by a Bitrix agent via standard cron.
Flexible filtering is available for both manual generation and the scheduler. Options include generating images only for products without existing images or regenerating all items. Filters can be applied by section, name, ID, and property values using AND/OR logic.
The module allows applying PHP functions or expressions to transform values in the 'Text from property' layer before output, such as mb_strtoupper.
The interface uses standard Bitrix language files, with Russian included by default.
During installation, the module creates its own database tables without modifying standard Bitrix tables. All created tables are removed upon module uninstallation.
Version 1.1.0 introduces drag-and-drop layer positioning directly on the image preview. X/Y coordinates are recalculated automatically, and a blue border displays the actual layer size.
Custom canvas sizes are now supported. In addition to standard templates for Ozon, WB, Yandex.Market, and Avito, any dimensions can be set manually.
A new 'Generation Tasks' section enables scheduled automatic execution via a Bitrix agent. Features include flexible element filtering, interval configuration, and agent management directly from the task card.
Info blocks and 'File' type properties can be created from the template form in a single click without navigating to Bitrix settings.
The module saves generated image results directly to the standard DETAIL_PICTURE field without creating additional custom properties. A settings page includes an 'Allow PHP layers' option, which is disabled by default. The Arial font is included in the package to ensure correct text rendering, allowing the module to be used immediately after installation.
After installation via the 'Solution Installation' interface, a new 'Image Generator' section with a 'Templates' subsection appears in the menu. To create an image, select the marketplace, the product information block, and the target property for saving results. The process involves layering: background, product detail photo, price text, and a promotional badge. Clicking 'Generate' processes all products in the block and automatically saves the resulting images.
System requirements:
PHP version 8.0 or higher.
GD extension with TrueType/FreeType support for text layers.
Bitrix CMS version 20.0 or higher.
An information block containing a file property for storing results.
When needed, General iT can implement “Layered Image Generator”, configure the module and verify it against the current website setup.