How to install Fancybox 3?

Frequently Asked Questions about WYSIWYG Web Builder
Locked
User avatar
Pablo
 
Posts: 14153
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

How to install Fancybox 3?

Post by Pablo » Sun May 13, 2018 12:29 pm

WYSIWYG Web Builder includes fancybox 1.3.4 as one of the default lightbox options which can be used in SlideShows, Photo Gallery, Images, YouTube, Vimeo, HTML5 video, link popups etc.
This can be configured in the Page Properties->Miscellaneous.

Due to license restrictions we are not allowed to distribute FancyBox v3.
However, if you copy the files from
https://fancyapps.com/fancybox/
to
Documents\WYSIWYG Web Builder\system\lightbox\fancybox
then the application will use these files instead of the included ones (FancyBox v1).

You will also need to copy the file 'lightbox.ini' to this folder. This file include the default settings for the lightbox.
The file can be copied from the c:\Program Files\WYSIWYG Web Builder\lightbox\fancybox\ folder or you can create it yourself with the following content:

Code: Select all

[attribute]
rel=$ID$

[copyrights]
company=Janis Skarnelis
url=http://fancybox.net/

[init]
script=$("a[rel^='$ID$']").fancybox({$SETTINGS$});

Locked

Who is online

Users browsing this forum: No registered users and 3 guests