@extends('layouts.admin') @section('content')
Create Gallery
Select Images
@php $incrementor = 0 @endphp @foreach($images as $image)
@include('admin.partials.inputs.galleryFileInput', [ 'i' => $incrementor++, 'name' => 'image[]', 'value' => $image->url, ])
@endforeach @if($incrementor < 8) @for($incrementor; $incrementor < 8; $incrementor++)
@include('admin.partials.inputs.galleryFileInput', [ 'i' => $incrementor, 'name' => 'image[]', 'value' => '' ])
@endfor @endif
Gallery Settings

Navigation

Arrows

@php $value = array_get($gallery->options, 'arrows', 0) @endphp @include('admin.partials.inputs.checkbox', ['name' => 'options[arrows]', 'value' => $value])

Pager

@php $value = array_get($gallery->options, 'pager', 0) @endphp @include('admin.partials.inputs.checkbox', ['name' => 'options[pager]', 'value' => $value])

Pause (on hover)

@php $value = array_get($gallery->options, 'pause', 0) @endphp @include('admin.partials.inputs.checkbox', ['name' => 'options[pause]', 'value' => $value])

Effects

Ken Burns

@php $value = array_get($gallery->options, 'ken-burns', 0) @endphp @include('admin.partials.inputs.checkbox', ['name' => 'options[ken-burns]', 'value' => $value])

Randomise Order

@php $value = array_get($gallery->options, 'random', 0) @endphp @include('admin.partials.inputs.checkbox', ['name' => 'options[random]', 'value' => $value])
Milliseconds
@endsection