I’m trying to get just the file name from an image field, but am at a loss. Is this possible without regex?
Thank you so much for you help
Sorry, I worked it out. Here is the solution with image array.
$image = get_field('image_field-name');
echo basename($image['url']);
?>