adds comma to path for image tag