Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
Lightbox, Fancybox

MODULE FOR 1C-BITRIX

Web studio "KS"

Lightbox, Fancybox

The module implements lightbox functionality for image zooming and is compatible with the Fancybox 2 library. The solution supports a multi-site environment, allowing the selection of a specific site for applying settings. Users can manage external dependencies by enabling or disabling the jQuery library, the mouse wheel handling module, and the Easing animation library.

5.00/5 · 5 ratings

1C-Bitrix Marketplace: 5/5 · 5 ratings

Technical details

Published
23 June 2014
Updated
28 September 2026
Version
1.0.1
Installed
50–99 times
Compatible editions
First Site, Start, Standard, Small Business, Business
Responsive design
Yes
Composite support
No
Compatible with Sites24
No
Developer
Web studio "KS"

What this solution does

The module implements lightbox functionality for image zooming and is compatible with the Fancybox 2 library. The solution supports a multi-site environment, allowing the selection of a specific site for applying settings.

Users can manage external dependencies by enabling or disabling the jQuery library, the mouse wheel handling module, and the Easing animation library.

The Fancybox 2 settings section allows activation or deactivation of the plugin itself, as well as the selection of a jQuery wrapper for initialization. Flexible configuration of internal padding relative to the content is available for the top, right, bottom, and left sides, with values specified in pixels. Additionally, minimum spacing between the visible screen area and the Fancybox window can be defined for both vertical and horizontal dimensions.

The Lightbox (Fancybox) module from KS Web Studio provides settings for margins between the visible area and the lightbox window at the bottom and left in pixels. You can set default width and height for content types iframe, swf, inline, AJAX, and HTML. Dynamic resizing supports parameters for minimum and maximum width, as well as minimum and maximum height in pixels. The functionality includes controls for automatic size calculation, recalculation on browser window resize, and adapting Fancybox size to the visible browser area.

The Lightbox (Fancybox) module by KS Web Studio provides extensive configuration options for image galleries. The window size can be calculated automatically based on the content's aspect ratio or set manually. Coefficients for precise horizontal and vertical centering are adjustable. Users can control scrollbar visibility, assign custom CSS classes to the wrapper, and toggle the display of navigation arrows and the close button. The module supports blocking window closure or advancing to the next gallery item upon clicking the image. Slideshow settings include control over the display duration of a single slide in seconds. Mouse wheel navigation is available, along with configuration for the number of images to preload. The window can be made modal by disabling navigation and the close button, and cyclic navigation can be enabled or disabled.

The Lightbox, Fancybox module from KS Web Studio provides settings for controlling image viewing behavior. It allows enabling or disabling the prevention of horizontal scrolling for frames and HTML content via script. Users can set the effect, animation type, and duration in seconds for both opening and closing images. For the elastic effect, there is an option to toggle transparency. Fancybox transition methods can be configured. Additionally, effects and animation durations can be set for the button used to navigate to the next image.

The Lightbox, Fancybox module by KS Web Studio provides flexible gallery configuration. Users can set the animation type and duration (in seconds) for next and previous image navigation buttons, as well as select the Fancybox transition method. The module supports enabling or disabling image thumbnails with adjustable width and height, controlling title visibility, and toggling gallery control buttons. It also allows independent management of media content output via Fancybox. The Fancybox 3 settings section includes the option to enable or disable infinite navigation.

The Lightbox (Fancybox) module by KS Web Studio provides flexible settings for gallery display. Users can specify the distance between slides in pixels and set the animation duration in milliseconds. Available animation effects for opening and closing include zoom, zoom-in-out, fade, or no effect.

Navigation elements are individually configurable: keyboard navigation, navigation arrows, an information panel with an image counter, and the option to prevent caption overlap can be enabled or disabled. The close button behavior can be set to automatic, always on, or off. The toolbar similarly supports automatic, on, or off states.

Individual toggles are provided for the zoom, share, slideshow, fullscreen, download, thumbnails, and close buttons. Additional features include image protection, which disables the right-click context menu, and a modal mode option.

The module provides flexible configuration for lightbox behavior. Users can set background transparency during scaling with values auto, true, or false. Transition effects between slides include slide, circular, tube, zoom-in-out, rotate, or no effect, with duration adjustable in milliseconds. The visibility of the scroll bar can be toggled. Focus management options include automatic focus on open, focus return on close, and keeping focus within the modal window. Automatic full-screen mode can be enabled. Vertical dragging and inertia are configurable. Slideshow settings allow automatic start and speed adjustment in milliseconds. Thumbnail controls support automatic display, hiding on close, a custom parent class (.fancybox-container), and orientation selection (vertical or horizontal). Mouse wheel scrolling can be set to auto, enabled, or disabled.

Configure slide click behavior: close or no action.

Lightbox parameters:

- Enable or disable the Lightbox module.

- Specify the jQuery wrapper for initializing Lightbox.

General iT can install “Lightbox, Fancybox”, configure its settings and verify its operation in the existing project.

UPDATE HISTORY

What’s new

2 releases
1.0.1 (28.09.2026)Latest update

Version 1.0.1

Fixes:

An access rights check for module settings has been added: if the read permission is missing, an authorization form is displayed; saving and resetting settings require the change permission.

Resetting settings to default is performed only via a POST request with session and change permission verification, which prevents reset execution via an external link.

Insufficient output escaping in the options renderer has been fixed: keys and labels of options in select and selectbox lists are output via htmlspecialcharsbx().

Comparison of the selected value has been converted to a string type to avoid unpredictable behavior with different data types.

A check for the scalar type of the option value has been added before saving.

Technical changes:

The minimum required PHP version has been lowered from 8.2 to 8.1.

Messages about the minimum PHP version have been updated (ru/en).

Access denied messages for module settings have been added (ru/en).

1.0.0 (07.09.2026)

Changes in version 1.0.0:

The module architecture has been completely redesigned using classes and namespaces.

Automatic loading of module classes has been added.

Classes Module, Menu, MenuManager, and PageAsset have been added.

Support for Fancybox 3.5.7 has been added, along with individual settings for its parameters.

jQuery has been updated from version 3.4.1 to version 3.7.1.

The connection of jQuery, Fancybox, Lightbox, MouseWheel, and Easing has been redesigned using separate loaders.

Module resources have been moved to separate directories /bitrix/js/kssite.jksimagebox and /bitrix/css/kssite.jksimagebox.

A custom menu has been added: Web Studio KS → Modules → Lightbox, Fancybox.

Module installation and removal have been completely redesigned.

Registration and removal of Bitrix event handlers have been fixed.

Secure transfer of module settings to JavaScript has been added.

The duplicate setting FANCYBOX_AUTO_RESIZE has been removed.

Compatibility with PHP 8.2+ has been added.

Settings are saved separately for each site (multi-site support).

USER EXPERIENCE

Solution reviews

How does this solution work in a real project? Share your experience and help others choose.

Be the first to share your experience

There are no reviews of this solution on git.ru yet. Tell us what worked well and what could be improved.

Verified purchaseAdd a key if you wish. A verified review gets a badge, priority placement and more rating weight.

Open to every clientJust sign in to your account. A key is optional; all reviews are moderated.

YOUR EXPERIENCE MATTERS

Your review

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

What does the price cover?
The displayed price covers the solution itself. Platform licensing, installation and customisation are checked separately. If the page offers bundles, select the required option before submitting a request.
How do I check compatibility?
Compare the supported editions and solution version in the technical details with your project. Before installing on a live website, we recommend making a backup and checking the solution in a test environment.
How much does this solution’s renewal cost?
The current renewal price is 3,500 ₽. Before you order, a manager will confirm the renewal period and whether it applies to your licence.
Can you help with implementation?
We can help install the module, check its settings and verify how it works in your project. Compatibility with other customisations and the scope of work are assessed before we begin.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot