Title: Images broken on Chrome over HTTPS
Last modified: August 31, 2016

---

# Images broken on Chrome over HTTPS

 *  Resolved [JackTheKnife](https://wordpress.org/support/users/scyzor/)
 * (@scyzor)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/images-broken-on-chrome-over-https/)
 * It looks like plugin is not able to handle properly images serving over HTTPS.
   On Google Chrome it comes as mixed content for any image from the plugin part
   and got blocked by the browser. Tested with forcing HTTPS at the back end and
   htaccess level – same issue.
 * Example here: [https://www.uscib.org/](https://www.uscib.org/)
 * Any clue what is going on?
 * Thanks
 * [https://wordpress.org/plugins/display-posts-shortcode/](https://wordpress.org/plugins/display-posts-shortcode/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/images-broken-on-chrome-over-https/#post-7297333)
 * This plugin uses the standard WordPress functions for displaying images. If you’re
   having issues, it’s a WordPress-wide issue – not specific to this plugin.
 *  Thread Starter [JackTheKnife](https://wordpress.org/support/users/scyzor/)
 * (@scyzor)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/images-broken-on-chrome-over-https/#post-7297337)
 * That is interesting because other images are not blocked (as you can see) only
   those which are related to display posts and event calendar.
 * Based on Google Chrome dev forums it is related to passive vs active data serving
   which Chrome is blocking.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/images-broken-on-chrome-over-https/#post-7297392)
 * All I can tell you is the core WordPress function for delivering post thumbnails,`
   get_the_post_thumbnail()`, is not serving up the image with the correct URL.
 * My guess is you haven’t set your home_url and site_url to be https, so WordPress
   functions that generate URLs are using http.
 * Here is where the image is generated: [https://github.com/billerickson/display-posts-shortcode/blob/master/display-posts-shortcode.php#L398](https://github.com/billerickson/display-posts-shortcode/blob/master/display-posts-shortcode.php#L398)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Images broken on Chrome over HTTPS’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/images-broken-on-chrome-over-https/#post-7297392)
 * Status: resolved