diff --git a/database/migrations/2021_01_19_224339_image_details.php b/database/migrations/2021_01_19_224339_image_details.php index d65203a..1d8a6e2 100644 --- a/database/migrations/2021_01_19_224339_image_details.php +++ b/database/migrations/2021_01_19_224339_image_details.php @@ -18,7 +18,7 @@ class ImageDetails extends Migration $table->dateTime("DateTimeOriginal")->nullable()->default(null); $table->integer("rating")->default(100); $table->string("name")->nullable()->default(null); - $table->string("description")->nullable()->default(null); + $table->mediumText("description")->nullable()->default(null); }); } diff --git a/resources/views/themes/gallery/gallery-detail/list.blade.php b/resources/views/themes/gallery/gallery-detail/list.blade.php index 3ebc7c9..c185a56 100644 --- a/resources/views/themes/gallery/gallery-detail/list.blade.php +++ b/resources/views/themes/gallery/gallery-detail/list.blade.php @@ -1,22 +1,36 @@ @extends('layout/template') @section('content') -
+
@foreach($images as $image) - + @endforeach
+
+
+

+

+
+
@endsection @section('js') +