For each image uploaded in a node: get the url
Giving field_shooting_photos is a multi valued field of Files, this is how to generate your array of URI :

$photoUrls = [];
foreach($shooting-&gt;field_shooting_photos-&gt;referencedEntities() as $image) {
    $photoUrls[] = $image-&gt;getFileUri();
}


For media image :

$photoUrls = [];
foreach($shooting-&gt;field_shooting_photos-&gt;referencedEntities() as $media) {
    $photoUrls[] = $media-&gt;field_media_image-&gt;entity-&gt;getFileUri();
}


Note this will give you the File_id of the first image in the entite file reference list :

$shooting-&gt;field_shooting_photos-&gt;target_id;


NB : Best way is probably to generate render array or use built-in drupal themes, is none fit your needs, your may also generate a custom field formatter.