Images not using https
-
I’m using the following code on https://responsivedesign.is/examples/ to load in more site examples at the bottom of the page (note I’ve only included the image generating code)
<img src="<?php the_post_thumbnail_url( 'small'); ?>" srcset="<?php the_post_thumbnail_url( 'medium'); ?> 768w, <?php the_post_thumbnail_url( 'large'); ?> 1024w, <?php the_post_thumbnail_url( 'full'); ?> 1600w" alt="<?php the_post_thumbnail_caption(); ?>" />
The template loads in find, however the URL is http instead of https which means the images do not load.
Is there a way to force https?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Images not using https’ is closed to new replies.