Fix html templates to load images only on HTTPS. Contributed by @ashfame.