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 fa7d8ae commit 383ea5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/public/_images.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
data-fancybox="{{ $model->slug ? : 'group' }}"
data-options='{ "buttons": ["close"], "infobar": false }'
>
<img class="image-list-item-image" src="{!! $image->present()->image(370, 370) !!}" alt="{{ $image->alt_attribute }}">
<img class="image-list-item-image" src="{!! $image->present()->image(370, 370) !!}" width="{{ $image->width }}" height="{{ $image->height }}" alt="{{ $image->alt_attribute }}">
</a>
</li>
@endforeach
Expand Down

0 comments on commit 383ea5d

Please sign in to comment.