
Implementing this "feature" is not very expensive. First, you search (as it is done) the image relative to the location of the html file. If no image is found, you search it relative to the project root folder.
I can't believe that takes more then 10 source lines.