Title: Images refuse to use https :(
Last modified: September 21, 2016

---

# Images refuse to use https :(

 *  Resolved [gerarde](https://wordpress.org/support/users/gerarde/)
 * (@gerarde)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/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)

 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/images-refuse-to-use-https/#post-8338059)
 * 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);
       ```
   
 * Thanks,
    Dave

Viewing 1 replies (of 1 total)

The topic ‘Images refuse to use https :(’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 1 reply
 * 2 participants
 * Last reply from: [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/images-refuse-to-use-https/#post-8338059)
 * Status: resolved