Page 1 of 1

Using Glightbox in WWB

Posted: Sun Jan 31, 2021 6:57 am
by wwonderfull
Hello Pablo,
Can glighbox be used in wysiwyg web builder?
https://biati-digital.github.io/glightbox/

Re: Using Glightbox in WWB

Posted: Sun Jan 31, 2021 8:37 am
by Pablo
Please see 'Adding other third party lightboxes' in this tutorial:
https://www.wysiwygwebbuilder.com/lightboxes.html

Re: Using Glightbox in WWB

Posted: Sun Jan 31, 2021 12:53 pm
by wwonderfull
In your gorgious tutorial I had found this
lightbox add-ons are stored in C:\Program Files\WYSIWYG Web Builder 16\lightbox
To add a new lightbox, create a new folder, for example C:\Program Files\WYSIWYG Web Builder 16\lightbox\mylightbox

Place all script files in this folder.
When I downloaded https://biati-digital.github.io/glightbox/ I had found these files but dont know which of them are the script and which should go to /lightbox/Glightbox folder there are so many files here. Which of them are to be placed need some direction.
Image

Re: Using Glightbox in WWB

Posted: Sun Jan 31, 2021 1:17 pm
by Pablo
Each script is different so I do not have generic instructions for this.
But I think in this case you will need to use the '-min' files from the 'dist' folder.

Re: Using Glightbox in WWB

Posted: Sun Jan 31, 2021 4:03 pm
by wwonderfull
In dist there was css and js folder wich I pasted on the folder glightbox and also the licence.ini but did not got any result. This lightbox is free to use just like plyr I really want it in wwb but if there is a way.

Re: Using Glightbox in WWB

Posted: Sun Jan 31, 2021 4:47 pm
by Pablo
Please read 'Adding other third party lightboxes' in this tutorial:
https://www.wysiwygwebbuilder.com/lightboxes.html

Note: make sure you add and edit the lightbox.ini file otherwise it will not work.