✨ Ajoute la gallerie

On utilise une libraire pour créer les miniatures
Fix #4
This commit is contained in:
Shikiryu committed 2020-03-10 13:10:38 +01:00
1 parent 99ec67affb
commit 7cec21bc21
10 files changed
+432 -20

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@
</div>
</div>
<div class="card-body @if($today->format('Y-m-d') === \Carbon\Carbon::instance($post->date_post)->format('Y-m-d')) already @endif ">
@if($post->image != '')<p><img src="{{ Auth::user()->getImageData($post) }}"/></p>@endif
@if($post->image != '')<p><img src="{{ route('display_image', ['post_id' => $post->id, 'options' => 'w:300', 'image_name' => $post->image]) }}"/></p>@endif
{!! $tag_detector->linkTagFrom($post->content) !!}
</div>
<div class="card-footer">