making relative url to libraryimages

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

Some librarys/modules I have made, need certain images that are in the
library's folder. Some function for example echos html forms with certain
images etc.

So how can I make relative url easily to those images so that I dont have to
care anything about the actual place of images?

function print_button() //part of some class
   <img src="<?=makeurl(images/button.gif)=?> name="button"/>

Perttu Pulkkinen

Site Timeline