@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content') {!! Form::open(['route' => ['settings.media']]) !!}

{{ trans('core/setting::setting.media.title') }}

{{ trans('core/setting::setting.media.description') }}

{!! Form::mediaImage('media_default_placeholder_image', setting('media_default_placeholder_image')) !!}
{{ Form::helper(trans('core/setting::setting.enable_chunk_description')) }}
{{ Form::helper(trans('core/setting::setting.watermark_description')) }}
    @php $folderIds = json_decode(setting('media_folders_can_add_watermark'), true); @endphp @foreach (app(\Botble\Media\Repositories\Interfaces\MediaFolderInterface::class)->pluck('name', 'id') as $key => $item)
  • @endforeach
{!! Form::mediaImage('media_watermark_source', setting('media_watermark_source')) !!}

{{ trans('core/setting::setting.media.sizes') }}:
@foreach(RvMedia::getSizes() as $name => $size) @php $sizeExploded = explode('x', $size); @endphp @if (count($sizeExploded) > 0)
{{ trans('core/setting::setting.media.width') }}: px
{{ trans('core/setting::setting.media.height') }}: px
@endif @endforeach {{ Form::helper(trans('core/setting::setting.media.media_sizes_helper')) }}
 
 
{!! Form::close() !!} {!! Form::modalAction('generate-thumbnails-modal', trans('core/setting::setting.generate_thumbnails'), 'warning', trans('core/setting::setting.generate_thumbnails_description'), 'generate-thumbnails-button', trans('core/setting::setting.generate')) !!} @endsection