# Try to force https instead of downloading remote images

**URL:** <https://meta.discourse.org/t/try-to-force-https-instead-of-downloading-remote-images/23399>\
**Category:** Feature\
**Created:** [Décembre 24, 2014, 2:06 UTC](https://meta.discourse.org/t/try-to-force-https-instead-of-downloading-remote-images/23399 "2014-12-24T14:06:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Moter8](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moter8/32/120941_2.png) [@Moter8](https://meta.discourse.org/u/Moter8)\
**Post date:** [Décembre 24, 2014, 2:06 UTC](https://meta.discourse.org/t/try-to-force-https-instead-of-downloading-remote-images/23399/1 "2014-12-24T14:06:27Z")

</div>

`https://i.imgur.com/pCSKvWK.jpg` should get rewritten to `https://i.imgur.com/pCSKvWK.jpg` and with that the whole http images on https site problem gets fixed.

This could probably get done by whitelisting common domains or checking if the site gives back `301` or `302` 's to the https link.

Or even in the Editor itself, if it detects a http image link it could check if a https one exists too and put in a `s` in the URL.

* * *

This would be great for basically everybody – less admins would want to use the “download remote images” option and would save traffic that way but also the users get the images faster (Imgur will have a better CDN than your self-hosted Discourse).

---

_[View the full topic](https://meta.discourse.org/t/try-to-force-https-instead-of-downloading-remote-images/23399)._
