Skip to content

Commit

Permalink
width & height attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Dec 17, 2020
1 parent 014e2ac commit 33e4d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/public/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@endempty
@empty(!$model->image)
<picture class="place-picture">
<img class="place-picture-image" src="{!! $model->present()->image(2000, 1000) !!}" alt="">
<img class="place-picture-image" src="{{ $model->present()->image(2000, 1000) }}" width="{{ $model->image->width }}" height="{{ $model->image->height }}" alt="">
@empty(!$model->image->description)
<legend class="place-picture-legend">{{ $model->image->description }}</legend>
@endempty
Expand Down

0 comments on commit 33e4d79

Please sign in to comment.