I am recreating an existing website and part of the process is enabling a theme from the same existing site on my new version.
The theme is called microsite and has an image located in /microsite/images/.
In the original site, the image from the above directory is loaded and displayed in a block. I copied the code from the block of the original site, pasted and saved in a block of my new site. The HTML markup is the following.
<a href="/publications" target="_self"> <img src="/sites/all/themes/microsite/images/image.jpg" /> </a>
Using the exact HTML markup in my recreated site with the same theme and path to image shows a broken image link. The link shows up as http://22.214.171.124/sites/all/themes/microsite/images/image.jpg instead of http://126.96.36.199/mysite/sites/all/themes/microsite/images/image.jpg.
To resolve this, I set
$base_url in settings.php to http://188.8.131.52/mysite, but the link is still broken.
Can anyone help, please?