#65 Dynamic Path For Local Assets Images In React Native

preview_player
Показать описание
Hi guys, In this video I have explained the good and bad ways to load local images url dynamically. I hope you will like my video.

#DynamicLocalImagesPath #LoadImagesDynamically #ReactNative

Thanks for watching my video. I am trying to do my best, trying to provide best.
Subscribe & press bell icon to get notifications.

Join us on following social networks :
Рекомендации по теме
Комментарии
Автор

Thanks man. I have spent 4 hours looking for the solution you just gave . gracias.

adetayojosephadesiyan
Автор

how to do it through JSON?
I have such a structure now
{
"food": [
{
"id": 1,
"title": "Pizza",
"image": "require('../img/pizza.png')",
"price": 100
}
]
}

{food.map((item) => {


return (
<View key={item.id}>
<Image source={item.image} style={{ width: 40, height: 40 }} />
<Text>{item.title}</Text>
<Text>{item.price}</Text>
</View>
);
})}

is not working

MrEmil-cfwo
Автор

Decided to drop react-native because of this feature not working but you saved🙏

omdesale
Автор

Thank you for this video. This is great!

YahiaHegazy
Автор

I'm using a local image to source my ImageBackground but when the app start exists a delay of +- 0.5 sec to load the image. Do you know how fix this behavior I'm using on source of ImageBackground element.

liiplima
Автор

how can we create the image object by scanning the folder for images?

abhishekverma
Автор

Is this REALY react native? For me it looks like something more from web, not the react native on which I am developing my apps...

dmytroyakymenko
Автор

Let's be honest with ourselves, this tutorial does not solve the problem. So far, I haven't seen any tutorial that solves this issue. If users are unable to dynamically display images locally, React Native could simply go down.

stanleyafon
Автор

Hello sir,
Can you make a video on how to download photos back...like when we create a poetry type app...and sir, is this possible without Firebase..

sadiqrauf
Автор

I was going crazy until I saw your video, even it's not the full answer. I want to dynamically set an image based on selection. but thanks for the video

oladapoosunkeye
Автор

Mere life k 15 minutes waapis chahiye mujhe....!!

sandeepkumarsahu
Автор

"using" starts with a U, not a J

chriscampbell
Автор

Thanks man. I have spent 4 hours looking for the solution you just gave . gracias.

dharacoding