Forum Replies Created

Viewing 15 replies - 1 through 15 (of 497 total)
  • Plugin Author edanzer

    (@edanzer)

    Follow up: I’ve pushed a small release to remove this and some other unused JS files.

    Plugin Author edanzer

    (@edanzer)

    @starhorsepax2 – Sorry for delay. The CSS you use would depend on the gallery markup, and on whether you are using an icon library for the icon. But for example, say you had this markup:

    <a class="img-zoom" href="large.jpg">
    <img src="thumb.jpg" alt="">
    </a>

    One option without an icon library might look like this:

    .img-zoom{
    position: relative;
    display: inline-block;
    }

    .img-zoom::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:56px;
    height:56px;
    transform:translate(-50%,-50%);
    pointer-events:none;

    /* optional styling */
    background:rgba(0,0,0,.45);
    border-radius:999px;

    /* magnifier icon (white) */
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:center;
    background-size:28px 28px;
    }

    Or if you use FontAwesome it might look like this:

    .img-zoom{ position:relative; display:inline-block; }

    .img-zoom::after{
    content:"\f002"; /* magnifying glass */
    font:900 24px/1 "Font Awesome 6 Free";
    position:absolute; left:50%; top:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    background:rgba(0,0,0,.45);
    width:56px; height:56px;
    border-radius:999px;
    display:grid; place-items:center;
    pointer-events:none;
    }

    Worth noting this CSS is all applied to the gallery itself, not to anything inside the lightbox.

    For now, as is this is not our issue really, and we’ve got a tentative solution, I’m going to mark this complete, but feel free to reply again.

    Plugin Author edanzer

    (@edanzer)

    Hi @fooey – yes, still supported. Though fair question given limited dev and slower support last year. It’s a side project and I had limited time much of last year. I explored having others do support/dev, but that didn’t work. In the mean time, it has been stable so I’ve just been letting it be.

    I do have life changes coming up in the next couple weeks that should mean more time to work on the plugin.

    Thanks for your question and interest.

    Plugin Author edanzer

    (@edanzer)

    I think you mean having something like a small icon that sits on the image to tell visitors ‘you can click this and open the image.’ For now, there’s nothing like that built into the free plugin. You’d need to add it custom, which you could probably do with some CSS. The Pro plugin shows a zoom icon on the lightbox header (if enabled), but that’s also only once inside the lightbox.

    For now, I’ll add this as a feature request.

    Plugin Author edanzer

    (@edanzer)

    @johannes4711 – Sorry for delayed response. I will look into this shortly and follow up.

    Plugin Author edanzer

    (@edanzer)

    @sasinduh – sorry for delayed response. Yes, I will remove this for the next release.

    Plugin Author edanzer

    (@edanzer)

    Hi, this may depend on device and browser. If you’re on a Mac like I am and you go to these pages and and click the link to open a PDF, you’ll see it scrolls:

    https://firelightwp.com/free-lightbox/
    https://firelightwp.com/free-lightbox-legacy/
    https://firelightwp.com/free-lightbox-v2/
    https://firelightwp.com/pro-wordpress-lightbox-plugin/

    However, the scrolling will not work on many mobile devices. PDFs on mobile are tough as most mobile devices have their own PDF viewers. The plugin largely wraps third party Fancybox scripts, and it is known they don’t handle this well on mobile (not just in this plugin, but in general).

    Plugin Author edanzer

    (@edanzer)

    Have you tried using the ‘Automattically group images’ setting? You’ll find it under Lightbox, under the Images section. If you set it to ‘Disable’, images will not be grouped at all. If you set it to ‘All in one gallery’, it will treat all images on a page as one gallery. Would one of those achieve what you want?

    There’s also a ‘custom grouping’ option there, but to add/edit custom groups is pro/paid feature.

    Plugin Author edanzer

    (@edanzer)

    Yes those look like options for this plugin. If you’re not using the plugin, you can delete them. We’ll also review plugin uninstall routines to ensure the plugin is deleting options properly.

    Plugin Author edanzer

    (@edanzer)

    I’m not sure all of what may have changed on your site (site updates, plugin updates, etc), but I think I can see the issue.

    If I click on one of the images on your site url you shared, I get this error in the browser console:

    Mixed Content: The page at 'https://ledcorp.co.za/products/led-blackseries-floodlight-series/' was loaded over HTTPS, but requested an insecure frame 'http://ledcorp.co.za/LED-X1-Floodlight-10W.html'. This request has been blocked; the content must be served over HTTPS. (jquery.min.js?ver=3.7.1:2)

    The second url, which is the link you’re trying to open in the lightbox, is an ‘http’ link, not ‘https’. That’s causing a JavaScript error which is preventing the page content from loading inside the lightbox.

    From the dev inspector tools, I updated that to https and it worked.

    Can you try updating a couple of those urls to https and see if the issue is resolved for you?

    Plugin Author edanzer

    (@edanzer)

    Hi @pdux – Just wanted to let you know the team has seen this. PDFs are tricky in general, especially on mobile where devices try to impose their own PDF viewers. And the Fancybox scripts used in the free version are getting older.

    Without a major re-work of the Fancybox scripts themselves, it’s unlikely we’ll get them working smoothy on mobile. But they should be working on desktop. We’ll take a look and follow up here in a day or two.

    Plugin Author edanzer

    (@edanzer)

    @one3rdnerd – Unfortunately, there is not an option for this. You’re one of very few users to raise a concern about it over the years (though I can personally understand your sentiment – the loading icons are provided by the Fancybox scripts, and the classic Fancybox scripts have been around a long time now).

    In any case, as you guessed, the way to do this is via CSS. Thanks for sharing!

    If the team were going to address this, I assume we’d add an option to choose a loading icon or turn it off. Right now, that’s not on our agenda, but if we get some more feedback/votes, we’d be happy to take a look at what’s involved.

    Since we’re not planning action right now, and since there’s a work around provided here, we’re going to mark this resolved. But feel free to follow up with questions or concerns.

    Plugin Author edanzer

    (@edanzer)

    Update: the team decided to just do this, and merged a new setting for slideshow speed. It’ll come out with next release. We’re going to mark this resolved for now, but feel free to follow up with questions.

    Plugin Author edanzer

    (@edanzer)

    Since you’re in touch with the team via email and the issue was addressed there, we’re going to mark this thread resolved. If there are outstanding issues, feel free to continue on email.

    Plugin Author edanzer

    (@edanzer)

    The code for Easy Fancybox and Firelight is the same – it’s just a brand change. So what worked before should work now. I’ll test against an older version of our plugin. It’s also possible something changed on the Modula side.

    • This reply was modified 1 year, 5 months ago by edanzer.
Viewing 15 replies - 1 through 15 (of 497 total)