package util

// resolves a relative image path to a fully qialified path.
func ResolveImagePath(relativePath string) string {
	return "images/" + relativePath
}

package util

var imageDir = "images/"

// resolves a relative image path to a fully qialified path.
func ResolveImagePath(relativePath string) string {
	return imageDir + "/" + relativePath
}

// the directory used to resolve the
func SetImageDir(newDir string) {
	imageDir = newDir
}

Allow images directory to be configured.
Allow images directory to be configured.

Signed-off-by: Jon Seymour <44f878afe53efc66b76772bd845eb65944ed8232@ninjablocks.com>
