use url instead of path for image