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

[Image]Remote image with 640*27239 can't load. #11523

Closed
l327253678 opened this issue Dec 17, 2016 · 3 comments
Closed

[Image]Remote image with 640*27239 can't load. #11523

l327253678 opened this issue Dec 17, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@l327253678
Copy link

render() {
return (
<Image
style={{width:640,height:700}}
source={{uri:'http://mpic.spriteapp.cn/x/640x400/ugc/2016/12/09/584a3d502f9ab_1.jpg'}}
/>
)
}
The image height is 27239.It load failed with Image component( iOS Simulator and Genymotion ).Is it a bug?

@linmic
Copy link
Contributor

linmic commented Dec 18, 2016

Can you make sure the image was loaded rather slowly or didn't render at all? I encountered this issue on Android but not iOS, it was just loaded really slow on iOS but rendered nothing on Android.

If it's only on Android, this is a known issue with RN/fresco, see #10470.

P.S. If you must render a image this large && you can control the remote source, you might consider trim them into pieces and concat them to display properly as a workaround, say every 1000px height. This will make things right for now.

@l327253678
Copy link
Author

@linmic Thanks for your Help.As one solution,i resize the image as thumbnail in server-side.The ListView receive the thumbnail and display the image detail in WebView.

@hramos
Copy link
Contributor

hramos commented May 25, 2017

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.

@hramos hramos closed this as completed May 25, 2017
@hramos hramos added the Icebox label May 26, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants