134
rated 0 times
[
135]
[
1]
/ answers: 1 / hits: 30691
/ 7 Years ago, tue, february 21, 2017, 12:00:00
My CMS produces an img src=(unknown) if an image isn't provided in the database. I would like to use javascript when this occurs to change it to img src=/images/missing.png
As a complete JS noob I have tried several hacks but none seem to work... any ideas? (there is likely to be more than one image on the page if that makes any difference)
More From » image