test relative path for images