0

{ "id": 89, "url": "https://homez.d.deli.work/storage/89/IMG_٢٠٢١٠٢٠٩_٢٢٤٤٠٠.jpg", "preview": "https://homez.d.deli.work/storage/89/IMG_٢٠٢١٠٢٠٩_٢٢٤٤٠٠.jpg", "name": "IMG_٢٠٢١٠٢٠٩_٢٢٤٤٠٠", "file_name": "IMG_٢٠٢١٠٢٠٩_٢٢٤٤٠٠.jpg", }

here is the object send from the backend, image url is shown normally in the browser but not shown in the code <Image src={meal?.images[0]?.preview || placehoderImage} alt="meal img"/> and the alt tag is shown instead, I don't know why I think becuase image name contains some non-english numbers. how can i handle this?

juliomalves
  • 42,130
  • 20
  • 150
  • 146
Abdelrhman Gad
  • 195
  • 2
  • 11

0 Answers0