How to access global variable from within Drupal content
Based on your comments, you might want to try using Drupals built in functions to retrieve the correct path for your assets.

The 2 you could take a look at are base_path() and path_to_theme().

For example:

&lt;img src="&lt;?php print base_path(); print path_to_theme()?&gt;/images/image1.jpg" /&gt;