making relative url to libraryimages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Perttu Pulkkinen

    making relative url to libraryimages

    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?

    fex.
    function print_button() //part of some class
    {[color=blue]
    >?[/color]
    <img src="<?=makeurl (images/button.gif)=?> name="button"/>
    <?
    }



    --
    Perttu Pulkkinen





Working...