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:

- creator: "Link 1"
- creator: "Link 2"

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

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

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?