{0}
One cannot call an image directly in wordpress in your theme files. For instance I cannot actually place an image with the command
When the page is displayed, nothing happens. This is because of WP taking into account the complete URL and not just referential paths. By providing the correct URL, it would make the task simple. The function getpath(); gets the full base path using the builtin wordpress "TEMPLATEPATH" function. It then substitutes the base path with the URL.