Код: Выделить всё
$image_main = Image::where('property_id', $id)->get();
$file = $request->file('file');
$destinationPath = 'uploads';
$i = 0;
foreach ($file as $file1) {
$i++;
$extension = $file1->getClientOriginalExtension();
$path = $file1->storeAs(
$destinationPath, $i.time().".".$extension
);
Код: Выделить всё
@foreach ($image_main as $images)
[img]{{[/img]
filename}}
Подробнее здесь: https://stackoverflow.com/questions/503 ... ng-to-user
Мобильная версия