No Preview

SULTAN AHMED

Posted on 7 June 2021

Images not previewed

No Preview

Help please !

Images are not showing or preview on img tag when array map filtering

0

75

1

No Preview

SULTAN AHMED

Explore more similar Post

1 Comments

Rizwan Khan

8 June 2021

In your thumbnail image i can see image path is not configured properly. if you are storing image locally in your system then preview your image with this method generatePublicUrl(item.productId.productPictures[0].img) or if you are storing image in amazon s3 bucket then it will give you a complete s3 image url that you can directly put within img src tag like this <img src={item.productId.productPictures[0].img} />

1
REPLY