I have a code for Laravel Blade that gets all images from a certain folder and shows it on the View
like so:
@php
$files = glob('storage/assets/images/seasons/*.*');
for($i = 0; $i < count($files); $i++){
$image = $files[$i];
echo "<img src = $image>";
}
@endphp
However, looking at the console, it shows requests like
/storage/assets/images/seasons/1.png
/storage/assets/images/seasons/2.png
/storage/assets/images/seasons/3.png
/storage/assets/images/seasons/4.png
around ~0.01 seconds after the other, resulting in one image loading after the other, not simultaneous loading/request. How would I achieve that in Laravel?