Dynamic Image SRC

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I would like to use an include for my header and navigation, and
because subsequent files may be in different directories, I want to
use a dynamic relative link for the images, sort of like:

<img src="<? $root ?>/images/foo.gif" />

I suppose the easiest thing to do is just use absolute links, but
is there a way to set this up so I can PHP instead?

http://www.bookstacks.org /

Site Timeline