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

HTTP redirect not supported on Image source uri #1080

Closed
brunolemos opened this issue Aug 22, 2018 · 1 comment
Closed

HTTP redirect not supported on Image source uri #1080

brunolemos opened this issue Aug 22, 2018 · 1 comment

Comments

@brunolemos
Copy link
Contributor

brunolemos commented Aug 22, 2018

The problem

When using an Image URI that redirects to another one, the image is not rendered.

// does not work:
<Image source={{ uri: 'https://twitter.com/brunolemos/profile_image?size=original', width: 100, height: 100 }} />;

// works fine:
<Image source={{ uri: 'https://pbs.twimg.com/profile_images/1029249022903676928/GgKLxkT4.jpg', width: 100, height: 100 }} />;

How to reproduce

Expected behavior

HTTP redirect should also work on web since it works on mobile

Environment (include versions). Did this work in previous versions?

  • React Native for Web (version): 0.8.9
  • React (version): 16.4.2
  • Browser: Chrome 68

Screenshots

@necolas
Copy link
Owner

necolas commented Sep 9, 2018

Thanks, this is a good find. Going to close this and fold it into #1019

@necolas necolas closed this as completed Sep 9, 2018
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