Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not loading external images #37

Closed
bitstarr opened this issue Jul 28, 2016 · 4 comments
Closed

Not loading external images #37

bitstarr opened this issue Jul 28, 2016 · 4 comments

Comments

@bitstarr
Copy link

Tell us about the issue you are experiencing

I added an image to my markup which is not hosted on the same domain and it doesn't load.

What behaviour would you expect?

Images should be loaded without a restriction of host/cross domain.

How can this issue be replicated?

I used this example:

<img src="//unsplash.it/300/300/?random" class="employee-img" alt="Frank" width="300" height="300" />

Your environment

Platform: Debian/Apache
Node Version: 5.10.1
NPM Version: 3.8.3
Astrum Version: 1.5.15

@RyanHavoc
Copy link
Member

@bitstarr Just for arguments sake, try adding a protocol to the src, e.g. http.

@bitstarr
Copy link
Author

@RyanHavoc I tried but it hasn't changed.

@RyanHavoc
Copy link
Member

@bitstarr That's strange. I don't understand how this could be an Astrum issue. We use images that aren't hosted on the same domain all the time, our demo for example renders images from imgix: http://astrum.nodividestudio.com/pattern-library/#group-tabs-component-tab-panes

@bitstarr
Copy link
Author

@RyanHavoc You are right. Seems that some dummy image providers are not working. I switched to placeimg.com which works. Maybe it's because of the server configuration. But i can't say what's the exact reason for this behaviour.

Sorry for the disruption :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants