Skip to content

Instantly share code, notes, and snippets.

@olaysco
Created April 2, 2019 13:19
Show Gist options
  • Save olaysco/a4742463f811b5d0c62ccf5878543356 to your computer and use it in GitHub Desktop.
Save olaysco/a4742463f811b5d0c62ccf5878543356 to your computer and use it in GitHub Desktop.
timbu.com mixed content
<!--
On changing the protocol to https the images are now displayed
and the mixed error cleared
-->
<img class="" src="undefined"
data-srcset="https://media.api.timbu.com/img/big/hotel-ibis-lagos-ikeja-lagos-47880.jpg?w=670&amp;h=380&amp;c=1"
alt="Hotel Ibis Lagos Ikeja-0"
srcset="https://media.api.timbu.com/img/big/hotel-ibis-lagos-ikeja-lagos-47880.jpg?w=670&amp;h=380&amp;c=1">
<!--
This code shows a section of image tags in timbu.com/search that attempts to load images
with http protocol,
this causes chrome to throw a mixed content error
since the page itself is served using a http protocol.
and stops the browser from displaying them
-->
<img class="" src="undefined"
data-srcset="http://media.api.timbu.com/img/big/hotel-ibis-lagos-ikeja-lagos-47880.jpg?w=670&amp;h=380&amp;c=1"
alt="Hotel Ibis Lagos Ikeja-0"
srcset="http://media.api.timbu.com/img/big/hotel-ibis-lagos-ikeja-lagos-47880.jpg?w=670&amp;h=380&amp;c=1">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment