we have a large wordpress site with thousands of reviews and images.
For security and copyright reasons, we would like to obscure or mask the direct link to the images used so that crawlers/bots can't see the direct links in the source code.
I have already tried wp hide and security enhancer which only alters the location to the file (using a rewrite), and when following the link it just finds the image at said altered location. What we would like to obtain is that the text to the actual link when viewing the source code is gone.
so this:
<img class="entry-thumb" src="https://staging.site.be/wp-content/uploads/2021/04/3d16670b-cae5-4baa-89e6-de6dafdd76de-150x150.jpg" alt="" title="Tourist LeMC :: Niemandsland" width="150" height="150">
turns into something like this
<img class="entry-thumb" src ="/other/imgpath/img.php?.....> alt="" title="Tourist LeMC :: Niemandsland" width="150" height="150">
Is this in any way possible in wordpress and if so how would I proceed ?
<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />