how to give relative path in drupal for setting an image
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.