diff --git a/motorradig/app/Http/Controllers/GalleryController.php b/motorradig/app/Http/Controllers/GalleryController.php index cfdee9b..79525dd 100644 --- a/motorradig/app/Http/Controllers/GalleryController.php +++ b/motorradig/app/Http/Controllers/GalleryController.php @@ -44,9 +44,15 @@ class GalleryController extends Controller $imagelist_orig = Storage::disk('img_storage')->files("tour-$tour_id"); $imagelist=[]; foreach($imagelist_orig as $image) { + $arr = explode("/", $image); $image = end($arr); - array_push($imagelist, $image); + + $before = $image; + if (str_ends_with($image, "_gross.jpg")) { + $image = substr($image, 0, -10); # Remove last 10 characters + array_push($imagelist, $image); + } } //dd($imagelist); diff --git a/motorradig/resources/views/tour/gallery/show.blade.php b/motorradig/resources/views/tour/gallery/show.blade.php index d18e60c..7a4a796 100644 --- a/motorradig/resources/views/tour/gallery/show.blade.php +++ b/motorradig/resources/views/tour/gallery/show.blade.php @@ -5,11 +5,22 @@

Galerie

-

(Galerie Elemente)

+

(Galerie Elemente)

+ + + + + +
-
-@endsection + + +@endsection \ No newline at end of file diff --git a/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng.jpg b/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng.jpg new file mode 100644 index 0000000..408a3d4 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng_gross.jpg b/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng_gross.jpg new file mode 100644 index 0000000..17ce090 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/fritzbox-buero-zugangpng_gross.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng.jpg b/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng.jpg new file mode 100644 index 0000000..7549662 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng_gross.jpg b/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng_gross.jpg new file mode 100644 index 0000000..bf1e54c Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/importgebuhren-bezahltpng_gross.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/mont-blanc-infopng.jpg b/motorradig/storage/img_storage/tour-1/mont-blanc-infopng.jpg new file mode 100644 index 0000000..677cbe3 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/mont-blanc-infopng.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/mont-blanc-infopng_gross.jpg b/motorradig/storage/img_storage/tour-1/mont-blanc-infopng_gross.jpg new file mode 100644 index 0000000..0fe113b Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/mont-blanc-infopng_gross.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/the7restfulroutespng.jpg b/motorradig/storage/img_storage/tour-1/the7restfulroutespng.jpg new file mode 100644 index 0000000..5299df2 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/the7restfulroutespng.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/the7restfulroutespng_gross.jpg b/motorradig/storage/img_storage/tour-1/the7restfulroutespng_gross.jpg new file mode 100644 index 0000000..f0a1474 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/the7restfulroutespng_gross.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng.jpg b/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng.jpg new file mode 100644 index 0000000..7ad0cf3 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng_gross.jpg b/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng_gross.jpg new file mode 100644 index 0000000..2fa5247 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/ultrashort-bond-etfpng_gross.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg.jpg b/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg.jpg new file mode 100644 index 0000000..1ce3b82 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg.jpg differ diff --git a/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg_gross.jpg b/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg_gross.jpg new file mode 100644 index 0000000..0a61884 Binary files /dev/null and b/motorradig/storage/img_storage/tour-1/wer-montags-lacheltjpg_gross.jpg differ