Drupal 7 img src path issue I created a block, in which an img with src="sites/mysite/files/imagename". It works every node, but failed loading in search page.

Is this an issue of Search module?
Drupal 7, I hope, has a uniform url management, for example:


exapmle.com/files, exapmle.com/modules/Module_name, or
exapmle.com/modules/core(Symbolic Link points to sites/all/modules) /Module_name  
exapmle.com/themes/Theme_name, or 
exapmle.com/themes/core(Symbolic Link points to sites/all/themes) /Theme_name ...
...
For any source or path of any thing in drupal site use src like this. It will work everywhere.$src = base_path() .'sites/files/logo.png';