Upload images and storing in dfs path rule.