Fancybox quit working
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Fancybox quit working
My fancybox has stopped working for some reason. Is there a way to restore the fancybox folder inside the lightbox folder without doing a full program download? It is not in the lightbox downloads on the website.
Re: Fancybox quit working
Hi... do you get error message when publishing, or how does it occur? Do you have the latest update?
Re: Fancybox quit working
Did you change something before it stopped working?
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
It actually does nothing. If I switch the page properties to magnificpopup that works fine. Switch back to fancybox and nothing happens. I'm trying to use HTML5 Video player and have it open in lightbox - fancybox.
Even if I place an image and link it to open another image in lightbox, nothing happens with the page set to fancybox. Something is wrong with fancybox it seems.
Even if I place an image and link it to open another image in lightbox, nothing happens with the page set to fancybox. Something is wrong with fancybox it seems.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
No Pablo, nothing I can think of. I rarely use lightbox so I cannot say when this happened. I thought it might be a preview issue so I published a test page and still not working.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Here is the test link:
http://www.icandyexperts.com/test/fancyboxtest.html
Click on the Intro image and another image should pop up in fancybox. Nothing happens. If I switch the page properties to magnificpopup that works fine.
http://www.icandyexperts.com/test/fancyboxtest.html
Click on the Intro image and another image should pop up in fancybox. Nothing happens. If I switch the page properties to magnificpopup that works fine.
- BaconFries
-
- Posts: 5936
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Fancybox quit working
Looks like your are using Fancybox 3 rather than the version in WB? See the following on Fancybox 3
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Re: Fancybox quit working
BaconFries is right, this is fancy-box 3. This is not the version that comes with WWB.
So, you must have replaced the scripts yourself.
So, you must have replaced the scripts yourself.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Yes that makes sense. it was probably done a while ago and I forgot. Than you both. I am not sure why it stopped working but at least I now know the cause. Thank you again.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
I have deleted the fancybox folder in the lightbox folder. I have reinstalled the program and the fancybox folder has been restored with the 1.3.4 version. Still when I preview the test page it is still using the 3.3.5 version. Where else can it be getting this from besides the fancybox folder in the lightbox folder?
Re: Fancybox quit working
Go to "Documents\WYSIWYG Web Builder\system\lightbox\fancybox" and remove the entire folder.
Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Thank you. I am back to 1.3.4
It appears the custom install of newer versions of fancybox no longer works when installed as directed in the linked post. I know it worked in previous versions of WB. Maybe something changed in WB recently? I downloaded the latest version 3.5.7 and added the .ini file. I'm pretty sure this worked in WB14 but because I use lightbox so little I could be wrong.
Thank you again
It appears the custom install of newer versions of fancybox no longer works when installed as directed in the linked post. I know it worked in previous versions of WB. Maybe something changed in WB recently? I downloaded the latest version 3.5.7 and added the .ini file. I'm pretty sure this worked in WB14 but because I use lightbox so little I could be wrong.
Thank you again
Re: Fancybox quit working
It still works for me.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Could it be the lightbox.ini file?
The file that downloads when the program is installed is:
The last line "settings=" is not in the string in the linked post instructing to make the file. Does this matter?
Everything seems to be adding to the head code correctly. The jquery and all of the links open to the files they reference. Nothing seems to be missing.
Here is the published page. When you click on the sunburst the lightbox should open a second image.
http://www.icandyexperts.com/test/fancyboxtest.html
I cannot see anything wrong
The file that downloads when the program is installed is:
Code: Select all
[attribute]
rel=$ID$
[copyrights]
company=Janis Skarnelis
url=http://fancybox.net/
[init]
script=$("a[rel^='$ID$']").fancybox({$SETTINGS$});
settings=
Everything seems to be adding to the head code correctly. The jquery and all of the links open to the files they reference. Nothing seems to be missing.
Code: Select all
<link href="fancyboxtest.css" rel="stylesheet">
<script src="jquery-2.2.4.min.js"></script>
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.css">
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.min.css">
<script src="fancybox/bower.json"></script>
<script src="fancybox/dist/jquery.fancybox.js"></script>
<script src="fancybox/dist/jquery.fancybox.min.js"></script>
<script src="fancybox/gulpfile.js"></script>
<script src="fancybox/package.json"></script>
<script>
function displaylightbox(url, options)
{
options.padding = 0;
options.autoScale = true;
options.href = url;
options.type = 'iframe';
$.fancybox(options);
}
</script>
Here is the published page. When you click on the sunburst the lightbox should open a second image.
http://www.icandyexperts.com/test/fancyboxtest.html
I cannot see anything wrong
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Palo
Could you, or Bluesman, or anyone else that has installed Fancybox 3.5.7 per the WB link in previous posts, please publish a page with a demo? Just an image opening another image in lightbox would help me immensely.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
I have tried everything in my wheelhouse and the only way I can get this to work is to modify how WB writes the link with a html editor. If I could see the source of a working page done in WB I could figure this out.
It would be most appreciated
Could you, or Bluesman, or anyone else that has installed Fancybox 3.5.7 per the WB link in previous posts, please publish a page with a demo? Just an image opening another image in lightbox would help me immensely.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
I have tried everything in my wheelhouse and the only way I can get this to work is to modify how WB writes the link with a html editor. If I could see the source of a working page done in WB I could figure this out.
It would be most appreciated
Re: Fancybox quit working
You have two versions of the CSS and JS files.
Only one JS and one CSS should exist in the folder.
Also, gulpfile.js and package.json should be removed.
Code: Select all
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.css">
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.min.css">
<script src="fancybox/dist/jquery.fancybox.js"></script>
<script src="fancybox/dist/jquery.fancybox.min.js"></script>
Code: Select all
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.min.css">
<script src="fancybox/dist/jquery.fancybox.min.js"></script>
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Thank you Pablo. Those files were in the download. I didn't add them. Regardless I removed them and it still does not work for me.
http://www.icandyexperts.com/test/fancyboxtest.html
I am beginning to think I am cursed
http://www.icandyexperts.com/test/fancyboxtest.html
I am beginning to think I am cursed

Re: Fancybox quit working
Also, remove 'bower.json'
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Thank you Pablo
Tried that also. Still nothing.
The image to pop up is in the images folder on the server. The path is correct.
Is it the .ini file? Here is how mine is written:
Tried that also. Still nothing.
The image to pop up is in the images folder on the server. The path is correct.
Is it the .ini file? Here is how mine is written:
Code: Select all
[attribute]
rel=$ID$
[copyrights]
company=Janis Skarnelis
url=http://fancybox.net/
[init]
script=$("a[rel^='$ID$']").fancybox({$SETTINGS$});
Re: Fancybox quit working
The ini file is correct.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Note that the files should be in the root of the fancybox folder.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Note that the files should be in the root of the fancybox folder.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Thank you Pablo
I have the files in the fancybox folder that is on the lightbox folder in system.
WYSIWYG Web Builder > system > lightbox > fancybox > files
All the files being called upon in the head code are linked correctly and opening. I'm using the latest jquery 3.4.1 Everything is there.
It's a mystery. If I could see a Web Builder published page with this lightbox working I could probably figure it out.
I have the files in the fancybox folder that is on the lightbox folder in system.
WYSIWYG Web Builder > system > lightbox > fancybox > files
All the files being called upon in the head code are linked correctly and opening. I'm using the latest jquery 3.4.1 Everything is there.
It's a mystery. If I could see a Web Builder published page with this lightbox working I could probably figure it out.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Perfect! Thank you Pablo. I got it working. I copied your fancybox .css and .js files from the head of your page and replaced my files with those. The only thing I can think of is I had a bad file from the fancyapp download.
I am truly grateful for the time you took to help me fix this.
I am truly grateful for the time you took to help me fix this.