✨ Ajoute la gallerie
On utilise une libraire pour créer les miniatures Fix #4
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user