I would recommend creating a GLOBAL tag for your image directory.
Like the following:
1) Create the following variable in your links.cfg file:
$build_img_dir = "$build_root_url/imgs";
2) Then add the following in the %globals hash in the site_html_templates.pl file:
img_dir => $build_img_dir
REMEMBER to add a comma at the end of the line before the LAST TAG DEFINITION in the %globals hash, like the following:
site_title => $build_site_title[/b],[/b]
img_dir => $build_img_dir
3) Then add the following tags and codes in your template files:
<img src="<%img_dir%>/something.gif" width="" height="" alt="" border="">
Good luck!
And...this is a recording...
Regards,
Eliot Lee
Like the following:
1) Create the following variable in your links.cfg file:
Code:
$build_img_dir = "$build_root_url/imgs";
2) Then add the following in the %globals hash in the site_html_templates.pl file:
Code:
img_dir => $build_img_dir
REMEMBER to add a comma at the end of the line before the LAST TAG DEFINITION in the %globals hash, like the following:
Code:
site_title => $build_site_title[/b],[/b]
img_dir => $build_img_dir
3) Then add the following tags and codes in your template files:
Code:
<img src="<%img_dir%>/something.gif" width="" height="" alt="" border="">
Good luck!
And...this is a recording...
Regards,
Eliot Lee