archetyped / simple-lightbox

The highly customizable lightbox for WordPress
http://archetyped.com/tools/simple-lightbox/
GNU General Public License v2.0
74 stars 33 forks source link

Image not opening in lightbox #860

Closed StuBlack5000 closed 3 years ago

StuBlack5000 commented 3 years ago

The lightbox was working fine for a long time, but all of a sudden won't open images anymore. Nothing has changed on my website. I click on the image and it basically refreshes the page or something. Checked all settings, reset the plugin, deactivated and reactivated, etc. Have latest version 2.8.1 (as of this writing). I have dozens of posts with galleries but I'm linking the latest below.

Details

archetyped commented 3 years ago

Hi, your site has multiple JavaScript errors. These errors can stop other scripts other scripts (such as SLB) from running. Resolving the existing JavaScript errors should allow SLB to run normally.

You can view the JS errors in your browsers developer console. Here are instructions for identifying the theme or plugin(s) causing the errors.


It also appears that a separate lightbox is being loaded on the page. Loading multiple lightboxes is not recommended as they can result in unexpected behavior since they both react to the same events (i.e. a user clicking on a link).

Please provide an updated link if you're still experiencing an issue with SLB once the above issues have been resolved and I would be glad to reopen this ticket and take another look.

StuBlack5000 commented 3 years ago

Hi, thank you for your response!

I tried 2019 theme and SLB works fine. It's the Publishable Mag theme that's not compatible, but it was working fine before.

What would you suggest I do?

Stuart Charles Black

Artist, Writer, & Designer

Home Studio Basics (Main Site)https://homestudiobasics.com

YouTube Channelhttps://youtube.com/c/HomeStudioBasics

Portfolio Site (Artwork)https://painterlystew.com

Soundcloud (Music)https://soundcloud.com/xtra-base-hitz

"We can tell other people about, having faith.. what we had faith in. What we found important enough to fight for. It's not whether you were right or wrong, but how much faith you were willing to have. That decides the future."

-Solid Snake to Raiden - Metal Gear Solid 2: Sons of Liberty (2001)


From: Archetyped notifications@github.com Sent: Thursday, January 21, 2021 1:20 PM To: archetyped/simple-lightbox simple-lightbox@noreply.github.com Cc: StuBlack5000 enjoisktboarding2@hotmail.com; Author author@noreply.github.com Subject: Re: [archetyped/simple-lightbox] Image not opening in lightbox (#860)

Hi, your site has multiple JavaScript errors. These errors can stop other scripts other scripts (such as SLB) from running. Resolving the existing JavaScript errors should allow SLB to run normally.

You can view the JS errors in your browsers developer console. Here are instructions for identifying the theme or plugin(s) causing the errorshttps://github.com/archetyped/simple-lightbox/wiki/Troubleshooting-Plugin-Conflicts.


It also appears that a separate lightbox is being loaded on the page. Loading multiple lightboxes is not recommended as they can result in unexpected behavior since they both react to the same events (i.e. a user clicking on a link).

Please provide an updated link if you're still experiencing an issue with SLB once the above issues have been resolved and I would be glad to reopen this ticket and take another look.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/archetyped/simple-lightbox/issues/860#issuecomment-764844227, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASREFQIB6BBAZ7T7QNPO6STS3BV7BANCNFSM4WK5TTXA.

archetyped commented 3 years ago

Hi, reporting the theme's issues to the theme's developers is highly recommended. They would have the most knowledge about the theme itself as well as the ability to update the theme as necessary.