
This helps to indicate that request comes from the modal // Feel free to change naming 'data' => [ Object containing settings for ajax request 'settings' => [ Wait for images to load before displaying // Requires predefined image dimensions // If 'auto' - will zoom in thumbnail if 'width' and 'height' attributes are found 'preload' => " auto", Shortcut to make content "modal" - disable keyboard navigtion, hide buttons, etc 'modal' => false, Disable right-click and use simple image protection for images 'protect' => false, Should display buttons at top right corner of the content // If 'auto' - they will be created for content having type 'html', 'inline' or 'ajax' // Use template from `btnTpl.smallBtn` for customization 'smallBtn' => 'auto', Detect "idle" time in seconds 'idleTime' => 4,

Buttons will be created using templates from `btnTpl` option // and they will be placed into toolbar (class="fancybox-toolbar"` element) 'buttons' => [ What buttons should appear in the top right corner. Should display toolbar (buttons at the top) 'toolbar' => true, Should display infobar (counter and arrows at the top) 'infobar' => true, Should display navigation arrows at the screen edges 'arrows' => true, Enable keyboard navigation 'keyboard' => true, Horizontal space between slides 'gutter' => 30, Space around image, ignored if zoomed-in or viewport smaller than 800px 'margin' => , Enable infinite gallery navigation 'loop' => true,

Once the extension is installed, simply use it in your code by : '', To the require section of your composer.json file.

FANCYBOX RESPONSIVE RESIZE IFRAME INSTALL
The preferred way to install this extension is through composer.Įither run php composer.phar require -prefer-dist newerton/yii2-fancybox-3 "*"
