@extends('back.layouts.app', ['title' => $title]) @section('beforeHeadClose') @endsection @section('beforeBodyClose') @include('back.media.media_js'); @endsection @section('content') @php $totalFolders = count($albumsObj); $totalImages = collect($albumsObj)->sum(function ($album) { return count($album['all']); }); $rootAlbum = collect($albumsObj)->firstWhere('album_title', 'root'); $rootImageCount = $rootAlbum ? count($rootAlbum['all']) : 0; @endphp
@include('back.common_views.quicklinks')

Media Library

Upload, organize, copy, and remove website images from one workspace.

Total Images {{ $totalImages }}
Folders {{ $totalFolders }}
Root Images {{ $rootImageCount }}
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any()) @endif

Upload Images

Add multiple images directly into the selected folder.

Max {{ getMaxUploadSize() }} MB per image
{{ csrf_field() }}
Accepted: JPG, PNG, GIF, and WebP.

Select Folder

@foreach ($albumsObj as $ak => $av) @endforeach
@foreach ($albumsObj as $kk => $val) @endforeach