I have been researching and trying many solutions I could think of;
I want to render or display my images from my MongoDB Atlas Server to my react native app. I have done the backend work using multer to get file req and save it on my ../assets/ folder but when I try to fetch it and use <Image source={{uri: photo}}/> it either blank or shows a number e.g 22.
This is my file path after multer and saved in my MongoDB
../assets/15985061325795950a472-5363-43b7-851e-e2afab049d0f.jpg
This is my Tag
<Image source={photo} style={styles.image} borderRadius={10} />
I get blank screens; I tried using require() but it requires a String, not {photo}.
I am using Expo-Client.
Thanks for your time.