Problem: Responsive Lightbox plugin doesn’t work

Possible Reasons:
*Outdated JQuery.
*Lightbox is in conflict with another plugin.
*Lightbox is in conflict with the site’s current theme.
*Site’s current theme may be outdated.

Possible Solutions:
*Use a debugger tool (like in Chrome browser or the firefox Web Developer Addon) to examine Javascript and JQuery.
*Deactivate any other image related plugins to find the one causing the conflict.
*Switch to a different theme (be sure to save/backup site) to see if the theme is the source of the conflict.
*Update Theme/Plugins/Javascript/JQuery.
*Trigger ajaxComplete under Custom Events.

Problem: Two lightboxes appear at once

Possible Reasons:
*A theme includes it’s own lightbox.
*Another lightbox plugin is in use.

Possible Solutions:
*Switch to a different theme (be sure to save/backup site) to see if the theme is the source of the conflict.
*Deactivate the plugin or the plugin that is believed to be causing the conflict.

Problem: Responsive Lightbox plugin doesn’t work for gallery

Possible Reasons:
*Responsive Lightbox only works on galleries that come with WordPress. Galleries that come with a theme or a plugin may not work with the Responsive Lightbox plugin.

Possible Solutions:
*Try using native WordPress gallery or ask the theme / plugin developer to make it compatible with Responsive Lightbox.
*If using Jetpack enabled galleries, enable the Force gallery lightbox option.
*If using WooCommerce galleries insert the following code into the theme’s functions.php file

function df_woocommerce_single_product_image_html( $html ) {
	$html = str_replace( 'data-rel="prettyPhoto', 'data-rel="lightbox', $html );
	return $html;
add_filter( 'woocommerce_single_product_image_html', 'df_woocommerce_single_product_image_html', 99, 1 ); // single image
add_filter( 'woocommerce_single_product_image_thumbnail_html', 'df_woocommerce_single_product_image_html', 99, 1 ); // thumbnails

Problem: Responsive Lightbox plugin does not work on mobile devices

Possible Reasons:
*Need to clear cache.
*Need to update browser.
*Need to disable any mobile browser add-ons or extensions that would interfere.

Possible Solutions:
*Clear cache.
*Switch to a different browser to see if problem persists.
*Update browser.
*Disable add-ons.

10 replies to "Troubleshooting"

  1. With the wordpress update I cannot find the gallery links I used to have. Are they moved somewhere else?

    • If your using Gutenberg editor the UI has changed and there is no Add Gallery button.
      But if you use Classic Editor there should be no change after update.

  2. Inserting a gallery with your shortcode works with lightbox perfectly!!! However, if I have the Gutenberg editor plugin enabled WordPress galleries or WordPress single images are not clickable and do not bring up a lightbox . Responsive Lightbox galleries continue to work though. After disabling the Gutenberg editor plugin, everything works as expected.

    Any ideas how I can get it to play nicely with the Gutenberg plugin?


  3. Is there any way I can change the actual size of a gallery image displayed? When I select an option for ‘Gallery image size’ in Lightbox->General Settings it only changes the aspect ratio of the Lightbox and the quality of the image displayed within it; it does re-scale the image, contrary to what I would expect. Consequently all my lightboxes are too large and so are the images displayed within them. I’d like the lightboxes to be smaller and my images scaled to fit within them please. Note: I am using SwipeBox.

  4. Hi
    I don’t get why I have two layers of lighboxes when I do a gallerie.
    I have alos anothe rissue: I have a loop instead of a cursor… Why?

  5. I’m using responsive lightbox on my woocommerce site for a different page (“about” page) – but it’s conflicting with WooCommerce in that it is hiding the Product Cost and making the “Clear” button not work for Variable products.. – Any idea why this is happening and how to fix it?
    (Currently, have it deactivated, but can active it on request)

  6. Hi Team,
    I have read above installation, General Settings and troubleshooting but am still unable to get responsive lightbox working on the website, could you please offer further suggestions

    • Hi,
      We’d neet to have a look at your site. Please create a support thread here and provide all the info.

  7. I am not able to make images of gallery to float none or float center, Can you please tell me how to stop images with float left css.

    • It is unrelated to this plugin.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published.