Support » Plugin: Alligator Popup » Mobile Device conflict with pretty photo

  • Resolved M C


    Great plugin!

    I am having one small issue, though. I am using the justified image grid plugin and there is a slight conflict with the alligator popup on a mobile device. When I open an image on a mobile device, the lightbox opens up into an extremely small window….basically making my website mobile gallery browsing useless. I have tried adjusting the settings with the justified image grid, but had no luck.

    Is there anything I can adjust or modify with the alligator plugin to resolve this?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author cubecolour


    This plugin doesn’t use a lightbox and on the few mobile devices I’ve tested it on it opens the target page in a new browser tab rather than the popup you get on a desktop.

    I’ll take a look at your site if you post a link to the page affected.

    Which mobile device(s) do you see this with?

    Plugin Author cubecolour


    I’ve just looked for featured image grid and seen that you’re probably referring to the lightbox in that. As it is a commercial plugin I have no access to do any testing with it.

    Thank you for the quick feedback.

    Everything with your plugin works fine. However, it is causing the lightbox to open up my images (ones that are using the justified image grid plugin) very small on a mobile device. I am using the iPhone 5 (same results using Safari or Chrome on the iPhone 5).

    Here is a link to the site:

    Here is a link to the plugin:

    Any possible way I can provide you with additional info or code from the other plugin?

    Thank you very much!

    Plugin Author cubecolour


    I don’t know whether the other plugin uses a class with the name ‘popup’ if so there might be a conflict with that – its a long shot, but you can try using a different class in alligator popup – change line 69 of alligator-popup.php to

    return '<a href="' . esc_attr($url) . '" class="alligatorpopup" data-width="' . esc_attr($width) . '" data-height="' . esc_attr($height) . '">' . $content . '</a>';

    and line 3 of popup.js to

    $('.alligatorpopup').click(function() {

    Beyond that, I’m afraid wading through the code of a commercial plugin with 279 settings and 71 pages PDF documentation doesn’t sound like a lot of fun and is a little outside the scope of the free support I can provide for my free plugin which only has 21 lines of javascript itself and three php functions.

    It worked!

    Thank you very much! I just sent you a donation.

    Man, I wish some of the pay plugins offered the support you have!


    Plugin Author cubecolour


    Thank you for the donation. I must admit I’m a little surprised that my guess was the answer, but I’m glad it worked out for you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mobile Device conflict with pretty photo’ is closed to new replies.