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 code is as follows:
<a href="/publications" target="_self">
<img src="/sites/all/themes/microsite/images/image.jpg" />
</a>
Using the exact code in my recreated site with the same theme and path to image shows a broken image link. The link shows up in the following format:
http://192.10.10.1/sites/all/themes/microsite/images/image.jpg
instead of :
http://192.10.10.1/mysite/sites/all/themes/microsite/images/image.jpg
To resolve this I set $base_url in settings.php to http://192.10.10.1/mysite
but the link is still broken.
Can anyone help, please?