how to give relative path in drupal for setting an image Hi all,
      iam trying to set image here in a module .The image is in the same module folder. but iam not able to get the image path  

&lt;td&gt;&lt;img src="projectsetup.jpg "  width="42" height="42"&gt;&lt;/td&gt;


This is the error which iam getting ..cleary states no path




  How to get a relative path in module to display images?
Try this code.  

$path = drupal_get_path('module', 'myModule') . 'image/projectsetup.jpg';


now set src = '$path' into your .module file where you set image src.