# Imagens publicadas via URL HTTP não são exibidas até serem baixadas para o local

**URL:** <https://meta.discourse.org/t/images-posted-via-http-url-are-not-being-displayed-until-downloaded-to-local/106193>\
**Category:** Bug\
**Created:** [Janeiro 10, 2019, 2:20pm UTC](https://meta.discourse.org/t/images-posted-via-http-url-are-not-being-displayed-until-downloaded-to-local/106193 "2019-01-10T14:20:28Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![fuzzyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fuzzyk/32/129208_2.png) [@fuzzyk](https://meta.discourse.org/u/fuzzyk)\
**Post date:** [Janeiro 23, 2019, 3:28pm UTC](https://meta.discourse.org/t/images-posted-via-http-url-are-not-being-displayed-until-downloaded-to-local/106193/15 "2019-01-23T15:28:19Z")

</div>

Sorry for not being able to respond in the last few days.

My only issue with this is how the new lazy loading system somehow breaks existing functionality, even if that may have been “accidental” functionality. I strongly believe it doesn’t have to be this way!

I’ll look into what exactly causes browsers to treat the images as active content, which is basically the _only_ issue here.

(`<img>` tags are already used, by the way, so there must be some counter-intuitive API restriction somewhere.)

/edit: Okay, trivial testing reveals this is related to the use of `srcset`s.  
/edit2: Here’s a [blog post on this topic](https://snook.ca/archives/html_and_css/mixed-content-responsive-images). It appears there is no trivial solution.  
/edit3: I have found the issue and will present a pull request shortly.  
/edit4: Here’s the pull request:

[https://github.com/discourse/discourse/pull/6935](https://github.com/discourse/discourse/pull/6935)

---

_[View the full topic](https://meta.discourse.org/t/images-posted-via-http-url-are-not-being-displayed-until-downloaded-to-local/106193)._
