adds image names to data