Support » Plugin: MetaSlider » Images refuse to use https :(

  • No matter what I do I cant make Meta Slider use https URI’s for images 🙁 I’ve even tried editing the database entries but to go.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Plugin Contributor matchalabs


    Hi there,

    You can add the following to your functions.php file. This will allow the image to be loaded over the same protocol as the page itself (ideal for https pages). :

    function metaslider_protocol_relative_urls($cropped_url, $orig_url) {
        return str_replace('http://', '//', $cropped_url);
    add_filter('metaslider_resized_image_url', 'metaslider_protocol_relative_urls', 10, 2);


Viewing 1 replies (of 1 total)
  • The topic ‘Images refuse to use https :(’ is closed to new replies.