Skip to content

How to copy images (such as albums) on the local disk to the image tag? #21567

@SmallCat123

Description

@SmallCat123

RN Chinese online said image tags can be directly displayed on the local disk (such as albums), how to set up?
https://reactnative.cn/docs/image/

GitHub Issues in the facebook/react-native repository are used exclusively for tracking bugs in React Native. GitHub may not be the ideal place to ask questions about using React Native, but we have compiled a list of resources that should help.

Get help with your React Native app or ask code-level questions

Many members of the community use Stack Overflow to ask questions. Read through the existing questions tagged with react-native or ask your own!

Talk about best practices or propose changes to React Native

For longer-form conversations about React Native, we’ve set up a discussion forum at discuss.reactjs.org. This forum is a great place for discussion about best practices and application architecture as well as the future of React Native.

Chat with React and React Native community members

If you need an answer right away, check out the Reactiflux Discord community. There are usually a number of React Native experts there who can help out or point you to somewhere you might want to look.

Activity

TonyGGC

TonyGGC commented on Oct 11, 2018

@TonyGGC

首先获取手机读写权限 和 相机权限
设置如下:
<Image style={{ width: '100%', height: '100%' }} source={{ uri: 'file:///storage/emulated/0/Download/crop_20a7dc7fbd29d679b456fa0f77bd9525d.jpg'}} />

added
Resolution: For Stack OverflowA question for Stack Overflow. Applying this label will cause issue to be closed.
and removed on Nov 13, 2018
react-native-bot

react-native-bot commented on Nov 14, 2018

@react-native-bot
Collaborator

Please use Stack Overflow for this type of question.

locked as resolved and limited conversation to collaborators on Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: For Stack OverflowA question for Stack Overflow. Applying this label will cause issue to be closed.Resolution: LockedThis issue was locked by the bot.Type: DiscussionLong running discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hramos@SmallCat123@TonyGGC@react-native-bot

        Issue actions

          How to copy images (such as albums) on the local disk to the image tag? · Issue #21567 · facebook/react-native