• Hello!
    I have some problems with outputting my sliders.
    I have tried both of the php ways from the documentasion:

    <?php masterslider ( $slider_id ); ?>
    and
    <?php echo get_masterslider ( $slider_id ); ?>

    Non of them works. When I use them, they outputs some code from Master slider but the image src is set to a “blank.gif” file. However the data-src is set to the correct image.

    I have even tried adding a new page with only the shortcode to the slider on it, and outputting the post contanet, but it still gives me the same result.

    So none of my images are displaying, help?

    • This topic was modified 7 years, 10 months ago by andreas981.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author averta

    (@averta)

    Hi,
    Could you please make sure that your slider id is correct and then give us a link to check it for you?

    Lt us know
    Averta

    I’m having this exact same problem. It seemed to just pop up. The only thing I can think is that I added the ShortPixel image optimizer plugin recently. But now Masterslider is making the img src some blank gif file, and putting the correct url in data-src.

    Ok, I have a few sliders set up. It seems that Masterslider uses that method of loading a blank gif for src, and then the actual file is under data-src…

    At the moment, the same slider is working on phones, but not desktops. Idk

    Ok, the problem was with using Rocketloader for javascript/jquery. I am using Cloudeflare, and had that option turned on.

    It had been working fine, but suddenly stopped. Maybe something on cloudeflare’s end. Rocketloader works with ajax. Masterslider has an option in settings to load assets on every page (which is supposed to make things work with ajax), but that doesn’t fix the problem for me.

    I turned off Rocketloader and it works again.

    Plugin Author averta

    (@averta)

    @michelgreenwood

    Thanks for sharing your info, it seems there is a conflict here with Rocketloader.
    I passed it to our dev team to see if they can fix it or talk to Rocketloader people to fix it on their side. It may take some time so right now turning that off would be the best solution.

    Kind Regards
    Averta

    Thread Starter andreas981

    (@andreas981)

    Sorry for not answering.

    I managed to fix it, but don’t remember how.
    I do remember there was a checkbox option somewhere on the admin control page, but I don’t remember where to find it :/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems with outputting’ is closed to new replies.