Get first image in post as fallback

Is there a way to get the URL of the first image in post as fallback if no featured image is set? Similar to this function:

{{img_url feature_image}}

But to only target the first image:

{{img_url post_first_image}}

1 Like