• Resolved PicturePassions

    (@picturepassions)


    Hiya,

    I’ve bought and downloaded the Lightbox add-on this afternoon, along with the Masonary add-on, and no matter what settings I choose for it, when you click on an image the lightbox appears and briefly the word Loading will appear. Within a second or so thats gone but no picture ever appears, just the black background of the Lightbox.

    Any help with this will be hugely appreciated otherwise I fear I might be looking to use that 30 day money back guarantee…..hope I don’t have to though as Sunshine looks to be the perfect solution for me.

    Many thanks

    Dom

    https://wordpress.org/plugins/sunshine-photo-cart/

Viewing 14 replies - 1 through 14 (of 14 total)
  • First step is to disable all other plugins and use a default WordPress theme and see if the issue persists. If the issue disappears, then enable plugins one-by-one and then your theme until the problem reappears. Once you find the cause, we can further work to resolve the issue.

    I would also need to see a gallery in order to investigate further.

    Thread Starter PicturePassions

    (@picturepassions)

    Hiya, Thanks for the reply.

    I haven’t got another theme to use, so downloaded the twenty fifteen and did a Live preview and it can’t find the client gallery, it just says “Opps, can’t find what you are looking for”

    I use the theme called Enfold, and I’ve been told by a friend who has helped me in the past with a wordpress problem that it’s not exactly built in the same way most WordPress Themes are, so I wouldn’t be surprised if this was the issue.

    Anyway, I disabled all the other plugins and the problem still exists.

    The only gallery I have live at the moment is a wedding gallery with a password on it and I’d rather not share the password publicly as it’s supposed to remain private for the bride and groom. Is there any way I can private message it or email it to you.

    The gallery can be found at http://www.picturepassions.info/client-galleries/

    Many thanks

    Dom

    I understand not sharing the password for a live gallery, you can create a test gallery with sample images.

    For the “Oops, can’t find what you are looking for” error, enable the Twenty Fifteen theme again and then go to Settings > Permalinks – just hit save, don’t change anything. Then try previewing the galleries again, the error should not appear.

    Thread Starter PicturePassions

    (@picturepassions)

    OK, yeah didn’t think of that…..I’ve created a test gallery that can be found at http://www.picturepassions.info/client-galleries/gallery/test-gallery

    I’ve tried the other standard theme and used your advice and the gallery page loaded and the Lightbox worked…..so it is my theme that is causing the issue.
    ~
    No idea how we’d resolve that, so any advice you have would be gratefully received.

    Many thanks

    Dom

    Thread Starter PicturePassions

    (@picturepassions)

    Wondering if you’ve had a chance to come to any conclusions on my problem as I’d love to be able to get it working without having to change my Theme (Enfold from Theme forest)

    Or am I doomed to not be able to use the Add Ons I’ve paid for in good faith, if so, what are the chances of a refund?

    Looking forward to getting an answer….many thanks 😊

    It looks like your theme uses the same JavaScript lightbox script, Magnific Popup. I wonder if there is a way to disable it for your theme? Maybe dequeue it for all Sunshine related pages so there is not a conflict.

    Thread Starter PicturePassions

    (@picturepassions)

    Hi…..many thanks for finding what could possibly be the reason, and something to try to fix it.

    However, my knowledge of wordpress and it’s inner workings are a mystery to me. I know how to use simple to build websites with wordpress by manipulating Themes with easy to use menus but I could never alter coding as I have no experience with it.

    So dequeuing something is beyond my capabilities I’m afraid as I wouldn’t know where to start or what to change.

    Thanks for your help so far, but to get any further I’ll need proper guidance on what to do.

    Many thanks

    Dom

    Try something like this:

    function sunshine_dequeue_magnific_script() {
        if ( is_sunshine() )
            wp_dequeue_script( 'avia-popup' );
    }
    add_action( 'wp_print_scripts', 'sunshine_dequeue_magnific_script', 888 );

    This is not tested, but I think it should work. What it is doing is removing Enfold’s copy of the Magnific popup script whenever on a Sunshine related page.

    Thread Starter PicturePassions

    (@picturepassions)

    Ok, an update….still no clue what a dequeue is.

    However, I have been thinking about a new look for my website so I am going to get a new theme.

    Do you have any knowledge that Sunshine will work with a theme called X

    http://themeforest.net/item/x-the-theme/5871901

    As this is the theme I am looking at getting.

    Many thanks

    We posted 3 seconds apart πŸ™‚

    I can’t guarantee it will work with that theme, it depends if it was built properly (following WordPress standards). Sunshine works with Enfold, it’s just that both are using the same JavaScript and that could be a conflict. Enfold unfortunatley doesn’t enqueue the script right, for some reason they call it “avia-popup” instead of “magnific”. In WordPress, if a theme and plugin both try to enqueue the same JavaScript file with the same name, it will only do one of them to prevent the conflict. Enfold uses this weird name, WordPress has no way to know they are the same.

    Thread Starter PicturePassions

    (@picturepassions)

    Hiya….Ok, so….I had no clue where to put that code….told you I know nothing about coding and wordpress, so took a few guesses. Nothing worked and then lastly it killed my website at the front and back end, had to gain access via FTP, find the code and removed it, and all returned, and I won’t be trying that again.

    What I have done is taken a leap of faith and bought the X theme. I’ve quickly run it in Theme Test Drive mode and Sunshine Masonary and more importantly the Lightbox work perfectly.

    It’s going to take me a while to build me new lookimh site with X, but at least in the end I will be able to use Sunshine properly.

    Thanks for trying to help πŸ™‚

    Sorry about that, the code needed to go into your theme’s functions.php file. Glad the new theme is working much better

    Thread Starter PicturePassions

    (@picturepassions)

    Hey no panic.

    You know what, one of the places I tried was the Functions.php and sadly it made no difference.

    Not to worry. I’ve just got to learn this new theme and how to get a look for my website that I want and it’ll be all good to go. Hoping to have it all live by the new year.

    Many thanks again anyway. I doubt I’ll get any issues from here on in so I doubt you’ll hear from me again, but if I get any issues I know where to drop by for some help.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘LightBox Remains Blank’ is closed to new replies.