add dynamic path to image