How to return images sequentially inside a "for loop"? – Laravel
My view displays collections from four different tables. $redtable is my longest collection. @for ($i = 0; $counter < $redtable->count(); $i++) <div> {{ $red->slice($i, 1)->first()?->content }} {{ $green->slice($i, 1)->first()?->content }} {{ $blue->slice($i, 1)->first()?->content }} {{ $gray->slice($i, 1)->first()?->content }} <div> @endfor…