Answer the question
In order to leave comments, you need to log in
If there is no picture, how to take it from another host?
If there is no image on host1, display it on the page from host2.
Including subfolders etc.
You need to play around with a copy of the site in the sandbox, and the pictures there between the files will only interfere.
PS: Well, or in general, all the pictures on the mask.
PPP: Well, or another method, mb JS? (just not inline to every link)
Answer the question
In order to leave comments, you need to log in
;(function(){
[].slice.call(document.querySelectorAll('img'))
.forEach(img=>img.addEventListener('error', evt=>{
img.src = img.src.replace(
'https://fiddle.jshell.net/badpath/',
'https://i.imgur.com/'
)
}))
})()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question