I inserted an image in block.tpl.php (to make rounded corners) using the following code:

<img src="<?php print $base_path . path_to_theme() ?>/grigio/img/ang_topsx.gif" alt=""
   width="15" height="15" class="corner" style="display: none" />

It works in the home page, and image path is correct: http://localhost/mysite/themes/zen/grigio/img/ang_topsx.gif.

But, if I go to any other node, the same block doesn't display the image, and I noticed that image path changed to http://localhost/mysite/content/themes/zen/grigio/img/ang_topsx.gif.

I'm working locally using XAMMP.

Comments

airali’s picture

Component: path.module » base system
dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the lack of activity on this issue and that Drupal v5 is no longer supported by fixes or patches, I am going to close this ticket. If this issue still exists and you want to continue to ask for technical support, please reopen and update this ticket.