Separate items in array with commas (except last)

I created an image crediting snippet to use in blog posts that inserts links at the bottom of posts. The block of front matter looks like this:

image_credit:
- creator: "Link 1"
  url: https://www.link1url.com
- creator: "Link 2"
  url: https://www.link2url.com/

What I was trying to do is like this, to insert a list of formatted links to those references:

<div>
{% if page.image_credit %}
  <p>
    Image credits:
    {% for image in page.image_credit %}
    <a href="{{ image.url }}" title="{{ image.creator }}">{{ image.creator }}</a>
    {% endfor %}
  </p>
{% endif %}
</div>

What I’m trying to achieve is to insert a comma or separator character in between the items in the loop, but not after the final item… to somehow exempt the last item. Is there a way to stick an if inside of this loop to check if the item is last and do something different?