Dynamically setting an image source

I’m guessing it’s the different in terms of URL for dev environment. Can you show a pic comparing the url of a working and not working img?

hi,

<img src="/93c4f490f073dbc3942fd7288d10ab97.svg> // this is

< img src="./…/…/…/…/…/static/images/dummy-pic2.svg">
// this is < img src="./…/…/…/…/…/static/images/dummy-pic2.svg"> // hard coded one

< img src="/93c4f490f073dbc3942fd7288d10ab97.svg > // this is < img src="${imgSRC}">
please have a look

:src=“‘src/assets/’ + item.icon + ‘.svg’” This is work you should replase …/ with ‘src/’

To be honest I found it to be quite informative and helpful which makes it seem fantastic; As a new member I also read this post which was really helpful & i am looking forward to more conversations like this one.