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 uri is not working #2

Open
singheshadev opened this issue Oct 21, 2020 · 6 comments
Open

Image uri is not working #2

singheshadev opened this issue Oct 21, 2020 · 6 comments

Comments

@singheshadev
Copy link

I tried to display image with uri
But no image displays
require working fine

const PATH = 'https://github.com/phuochau/react-native-360-image-viewer/blob/master/example/images/';
const images = _.reverse([
{uri: PATH + 'iris-1.jpg'},
{uri: PATH + 'iris-2.jpg'},
{uri: PATH + 'iris-3.jpg'},
{uri: PATH + 'iris-4.jpg'},
{uri: PATH + 'iris-5.jpg'},
{uri: PATH + 'iris-6.jpg'},
{uri: PATH + 'iris-7.jpg'},
{uri: PATH + 'iris-8.jpg'},
{uri: PATH + 'iris-9.jpg'},
{uri: PATH + 'iris-10.jpg'},
]);

@eth-jashan
Copy link

Can We upload Direct Google 360 photos ?

@singheshadev
Copy link
Author

Issue resolved
We need to use single url and not merging by plus sign

@barcamoed
Copy link

barcamoed commented Jul 13, 2021

Issue resolved
We need to use single url and not merging by plus sign

Can you please show us how you did that? How can I pass local files path e.g files like file:///data/user/0/host.exp.exponent/cache/ExperienceData/UNVERIFIED-192.168.18.74-autojini/ReactNative-snapshot-image3746999592594661361.jpg

@hassancodess
Copy link

Issue resolved
We need to use single url and not merging by plus sign

Can you please show us how you did that? How can I pass local files path e.g files like file:///data/user/0/host.exp.exponent/cache/ExperienceData/UNVERIFIED-192.168.18.74-autojini/ReactNative-snapshot-image3746999592594661361.jpg

customize the Image360Viewer component and change the source prop like this

 <Image source={{ uri: this.getImage() }} style={[styles.image, { width, height }]} />

@ReactTest90
Copy link

please share proper code how to use http url with Image360Viewer component

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

6 participants
@singheshadev @eth-jashan @barcamoed @hassancodess @ReactTest90 and others