Hi!
I just updated from Lightbox 2.5.7 to 2.7.0 and the page images no longer open in a lightbox or have the left/right arrows once full size.
Lightbox update 2.7.0
Re: Lightbox update 2.7.0
Is it on a public page? If yes, could you link it?
-
- Regular
- Posts: 21
- Joined: Fri Dec 14, 2018 6:27 am
Re: Lightbox update 2.7.0
Sure thing! For me the thumbnails are now just maximizing, isolated as individual photos, instead of the lightbox slideshow.
https://preciseassemblies.com/driveway- ... ng-service
https://preciseassemblies.com/driveway- ... ng-service
Re: Lightbox update 2.7.0
You might want to lower the cloudflare protection a bit ;)
The lightbox plugin offers several types of lightboxes though. Do you remember which one was active, or which one is active now? Also, "Create Gallery" is set to "Gallery with photos of the entry"?
The lightbox plugin offers several types of lightboxes though. Do you remember which one was active, or which one is active now? Also, "Create Gallery" is set to "Gallery with photos of the entry"?
-
- Regular
- Posts: 21
- Joined: Fri Dec 14, 2018 6:27 am
Re: Lightbox update 2.7.0
Are you outside the US by chance? If so, I have disabled that protection to see if it allows you access.
For my lightbox settings, I've attached a screen shot.
For my lightbox settings, I've attached a screen shot.
- Attachments
-
- Screenshot 2025-06-02 151324.png (61.28 KiB) Viewed 169 times
Re: Lightbox update 2.7.0
Yes, I'm in Europe, and thanks, the new setting worked.
The problem is in all likelihood caused by a change I did to 2.7.0. I removed the bundled jQuery version, being under the impression that all serendipity blogs have jQuery in their frontend. Your blog proves that assumption wrong.
Not sure how to continue now. Are you okay with adding jQuery manually to your site?
The problem is in all likelihood caused by a change I did to 2.7.0. I removed the bundled jQuery version, being under the impression that all serendipity blogs have jQuery in their frontend. Your blog proves that assumption wrong.
Not sure how to continue now. Are you okay with adding jQuery manually to your site?
-
- Regular
- Posts: 21
- Joined: Fri Dec 14, 2018 6:27 am
Re: Lightbox update 2.7.0
Yes, I could try it if you point me on where to find it, and the directory to install it.
Re: Lightbox update 2.7.0
You do not need to download it, Serendipity bundles it :) But you would need to add the code that activates it, that the current template seems to not have.
Add this html code to either the head section in the index.tpl of your theme, or you install a serendipity_event_head_nugget plugin (maybe you use one already?) and add it there:
Add this html code to either the head section in the index.tpl of your theme, or you install a serendipity_event_head_nugget plugin (maybe you use one already?) and add it there:
Code: Select all
<script src="/templates/jquery.js"></script>
<script>jQuery.noConflict();</script>
-
- Regular
- Posts: 21
- Joined: Fri Dec 14, 2018 6:27 am
Re: Lightbox update 2.7.0
Yay! That worked on my end. See if it works on your end.
This is how I inserted it into my index.tpl file so when I see it years from now, I won't forget why it's there.
I now see the jQuery file in my template folder. It is listed as version 1.12.4.
Are there any other plugins that may be affected if jQuery's not activated in the template?
This is how I inserted it into my index.tpl file so when I see it years from now, I won't forget why it's there.
Code: Select all
<!-- Activates the jQuery file in the Templates folder. Needed for the Lightbox plugin -->
<script src="/templates/jquery.js"></script>
<script>jQuery.noConflict();</script>
Are there any other plugins that may be affected if jQuery's not activated in the template?
Re: Lightbox update 2.7.0
Yes, that works for me as well!
The jQuery version will be updated with the next s9y release.
I thought I removed the bundled (old) jQuery file from a couple of plugins, but right now I only see livecomment as another one.
The jQuery version will be updated with the next s9y release.
I thought I removed the bundled (old) jQuery file from a couple of plugins, but right now I only see livecomment as another one.