Just noticed that my lightbox is no longer closing when I click anywhere on the screen. It opens fine, but it doesn’t have any option or way to close now and I have to use the back button to close it. Did something change — with the Plugin or WordPress? Am I missing something here? It was working fine for months.
I use TablePress and have an image column with this code:
<figure class="wp-block-image">
<a href="imagelink" rel="lightbox">
<img src="imagelink" alt="name" width="300" height="300" class="size-full wp-image-2142" />
</a>
<figcaption>name</figcaption>
</figure>
Yes it’s painfully simple, but I am not a programmer.
]]>Can you add SVG image support to the plugin? I modified the plugin and added SVG to the supported files list in “responsive-lightbox-lite.php” and the folder “assets\nivo-lightbox” with the 2 javascript files. It is working as hoped. It would be nice if that could be incorporated into future releases I can continue to take updates from the www.ads-software.com repo for this plugin. Thanks!
]]>Hi,
I’m using the inline version of this so if you visit https://burgesshomesltd.co.uk/about-us/our-values/ and then click on more info there is some information which opens up, however there doesnt seem to be a close button.
Any ideas?
]]>Hi guys,
The link parameter rel=”lightbox” works fine from a normal gravity form but not from their nested forms which open as a modal. Is your JS not triggered that way? I’m waiting for a response from their support but I was hoping you’d reply faster ??
Thanks
]]>I have received a critical error regarding this plugin:
‘The Plugin “Responsive Lightbox” has a security vulnerability.’… ‘Issue Found October 19, 2022 09:18 – Critical‘
I have been advised to:
‘deactivate and completely remove “Responsive Lightbox” until a patched version is available’
Could you please tell me if a patch is available as I would like yo continue using this plugin
Thank You
Melanie
I’ve had a poke around this forum and there are a couple of instances of this error, but with no fix, apart from a temporary one.
After I’ve created, edited and saved a Gallery which is then displayed using Responsive Lightbox, I get an email :
Error Details
=============
An error of type E_ERROR was caused in line 503 of the file /home/myaccount/public_html/mysite.co.uk/wp-content/plugins/responsive-lightbox/includes/class-frontend.php. Error message: Uncaught Error: Unsupported operand types in /home/myaccount/public_html/mysite.co.uk/wp-content/plugins/responsive-lightbox/includes/class-frontend.php:503
Stack trace:
#0 /home/myaccount/public_html/mysite.co.uk/wp-content/plugins/responsive-lightbox/includes/class-galleries.php(3840): Responsive_Lightbox_Frontend->get_unique_fields(Array, NULL)
#1 /home/myaccount/public_html/mysite.co.uk/wp-content/plugins/responsive-lightbox/includes/class-galleries.php(4187): Responsive_Lightbox_Galleries->save_gallery(Array, 2481, true)
#2 /home/myaccount/public_html/mysite.co.uk/wp-includes/class-wp-hook.php(307): Responsive_Lightbox_Galleries->save_revision(2481)
#3 /home/myaccount/public_html/mysite.co.uk/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#4 /home/myaccount/public_html/mysite.co.uk/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#5 /home/myaccount/public_html/mysite.co.uk/wp-includes/r
The site appears to work fine, just that I get this message every time I edit a gallery (the site gets regular batches of new pictures)
The error is: Unsupported operand types in …/responsive-lightbox/includes/class-frontend.php
The bad line is:
return $defaults + $fields;
I don’t know php well enough to spot any error here
Anyone have an idea / are the developers aware of this?
]]>Why does this work?
<a href="https://mysite.com/" rel="lightbox" data-lightbox-type="iframe" />Link</a>
but not this?
<a href="https://mysite.com/virtour.html" rel="lightbox" data-lightbox-type="iframe" />Link</a>
WP v.5.8.2, Responsive Lightbox Lite v. 1.3.4
After the WP update, the video is no longer shown, but with Enable jQuery Migrate Helper plugin (Legacy 1.12.4).
<a href="#video" class="video-lightbox" rel="lightbox" data-lightbox-type="inline">
<img src="/wp-content/uploads/2018/06/video_preview_hp.jpg" />
</a>
<div class="hidden" id="video">
<video width="100%" height="auto" controls>
<source src="wp-content/uploads/video/image.mp4" type="video/mp4">
<source src="wp-content/uploads/video/image.ogv" type="video/ogv">
<source src="wp-content/uploads/video/image.webm" type="video/webm">
Your browser does not support the video tag.
</video>
</div>
]]>
This plugin has not been updated in 9 months. Is there a plan to update it or is this abandoned? It’s been over 6 months since the last support reply here. Just wanted to check before we find an alternate solution.
thanks,
Hello,
I need to refresh a parent page when closing a lightbox.
I add the following code in a lightbox page but it doesn’t refresh the parent page.
Would you please let me know how to solve the problem?
jQuery(document).ready($ => {
$(document).on(“click”, e => {
if (
document.querySelector(‘.nivo-lightbox-overlay’).contains(e.target)
&&
!document.querySelector(“.nivo-lightbox-wrap”).contains(e.target)
) {
location.reload();
}
});
});
Thank you.
]]>Plugin will not work unless you install the Enable jQuery Migrate Helper plugin and set to Legacy:
https://www.ads-software.com/plugins/enable-jquery-migrate-helper/
Tested WP5.7.2 with latest version of the Responsive lightbox plugin.
Error happens for both Lite and Pro version.
Please fix. This is a great plugin, but useless like this.
]]>The plugin works great. I have one problem. The close button CSS appears broken.
Original CSS:
.nivo-lightbox-close {
background: url(//www.mywebsite.com/wp-content/plugins/responsive-lightbox-lite/assets/nivo-lightbox/themes/default/close.png) no-repeat 5px 5px;
}
The close button is too low and too far to the right. I added this to my themes CSS to override the above CSS:
/* Lightbox close style
-------------*/
.nivo-lightbox-close {
background: url(/wp-content/plugins/responsive-lightbox-lite/assets/nivo-lightbox/themes/default/close.png) no-repeat 0px 0px !important;
}
Tested on Chrome (Desktop and mobile) browser.
]]>Hi there,
I have a gallery on WordPress and I would like to add a different link on each image. This feature is very hard to find.
Would you plugin allow me to customize lightbox, so I can add a different link to each image?
]]>After the (auto) update to WP 5.6 the plugin stopped working.
Restored site back to WP 5.5.3 and all is good again.
Hi, I’m looking for a gallery plugin that works like the one on this website:
https://www.aliceson.co.uk/photography
with image left and text right and a left/right button to move to the next image with text.
Do you have anything that does that?
Thanks.
I am using the pro version, with syntax like this:
data-gall=”gall-frame” data-lightbox-type=”inline”
But I need more than one lightbox on a page.
All the lightboxes on the page are displaying the same (topmost) content.
Is this possible?
THank you!
]]>Sadly, after today’s WordPress 5.5 update, I’m noticing our lightbox is no longer functioning with this plugin.
If anyone has a solution for getting it working again, please let me know.
]]>There are literally no instructions.
I have a HubSpot form I want to put in a lightbox. How can I do it?
]]>Hi, I need some help. Not sure when I started getting this warning:
Warning: explode() expects parameter 2 to be string, array given in /wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 719
It seems everything is working, except for the warning that it is printed on the site. Any of you knows:
1) Remove this warning (the proper option)
2) Remove the printing message from the site (no the best, but still valid)
Thanks in advance, and happy to share the solution if any of you is having the same issue.
]]>Hi there!
I’m building a director’s portfolio with Divi. I purchased Responsive Lightbox Pro
to diplay the Director’s Vimeo videos in a lightbox. It works fine but the director wants the videos displayed in a lightbox to
share the same width than the thumbnails featured on the front page. As you can see, the videos’ width is the same than the
thumbnails’ on screens smaller than 1350px. On wider screens, it’ not. So I tried to add this extra CSS code:
@media only screen and (min-width: 1350px) {
iframe.nivo-lightbox-vimeo {
max-width: 1080px !important;
}
}
…but it works only for the first two videos (not for the third one) and the embedded videos appear left-aligned.
How can I fix this?
Thank you, have a nice day!
]]>Hi,
on my site the rel doesn’t work, til now I used a prettyPhoto with this code:
<a class="zoom" title="<?php the_title(); ?>" data-gal="prettyPhoto[gallery]" href="<?php echo esc_url($currenturl); ?>"><span class="fa <?php echo esc_attr($currenticon); ?>"> </span></a>
Unfortunately prettyPhoto doesnt work well on mobile device, so I found your plugin and replaced the code:
<a class="zoom" title="<?php the_title(); ?>" rel=“lightbox[gallery-0]“ href="<?php echo esc_url($currenturl); ?>"><span class="fa <?php echo esc_attr($currenticon); ?>"> </span></a>
The problem is, that clicking on the image, it doesn’t show the associated gallery, but only the single images of the page, how you can see on the pagelink.
]]>I used to love this plugin and the developer was very fast in replying and fixing. However, the Nivo script that this plugin is using has been abandoned and does not work correctly anymore on newer mobile devices.
I reached out to the developer (I have the PRO version) but have not received an update so I had to find a new solution.
For my sites I’m now using TopBox, which is a followup on Nivo Lightbox. https://willwoodgate.com/projects/topbox/
I coded everything manually, so unfortunately not a plugin.
If Weaveappas ever decides to redo this Lightbox plugin with Topbox or another script that works well I’ll be happy to go back to using it, but for right now I have to warn people to stay away from this plugin.
I also tested out a lot of other WP Lightbox plugins but none of them had all the features that this one/Nivo has, or they are also using Nivo which is outdated right now.
The dFactory plugin is not as good either and also hardly has any support.
Really hope subhansanjaya will pick up working on this one again.
Hi!
Thanks for this fabulous plugin!
It used to work on my client’s site but has not stopped. I’m not sure if it’s because we moved to SSL, but we now get a spinning wheel when trying to load the external Mailchimp subscription form in the lightbox.
Oddly, it used to work.
Any ideas?
Cheers!
]]>I’m having an issue when there are over 10 galleries on a page. Responsive lightbox gives each gallery on the page a unique gallery within the source code. This is different than the actual gallery ID from within the dashboard. For example, if you inspect any of the thumbnails from the first gallery, you see a “data-rel” tag with the value of “lightbox-gallery-1”. The second gallery has the same thing, but with “lightbox-gallery-2” and so-on.
The issue I’m having stems from this. What it’s doing is combining any galleries that start with “lightbox-gallery-1”, so this includes galleries 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, and 19. The same thing goes for lightbox-gallery-2, if also includes the images for any gallery in the twenties.
I noticed there is a similar issue reported in this thread with single images merging into galleries due to the id lookup.
https://www.ads-software.com/support/topic/rlb-thinks-an-image-is-a-gallery/
Can this please be investigated.
]]>I have galleries set up that are working fine, and so far most images that are to open in a lightbox window are working fine— except for one on this page.
The second photo with the caption “The view up Water St….” is being treated as a gallery and the window opens up with three other images from the same page.
How to I fix this?
]]>hello,
could you please give me the code that would close a lightbox window? as in the a href code. right now if you click outside the lightbox it closes (perfect!). but i would also like to have a text link to do this.
thank you!!
Hi,
I try the plugin and it don’t work, then i go to see message on support page, and i see many of them without response.
Then i see message from @andreas-2013 :
I’ve just installed “Simple Lightbox” from Archetyped, and ist works good and fast.
And this plugin work well!
Thank’s Andreas!
]]>Hello,
I’m using frame lightbox, on pc and android devices everything looks great.
But on iphone and ipad, in safari browser, scrollbars are not working.
Can you please help me?
]]>Is it possible to create linked images with your plugin? If yes, then how to configure it?
]]>Hi there,
I recently added SSL cert to a website, bit now some popups are not working correctly (loads documents fine in popup – but not video links).
Video links are set to https, however fails to open popup, when I inspect source it shows its trying to load http iframe…
Any ideas?
Cheers
]]>