Skip to content

Commit

Permalink
Increase size of thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 committed Sep 11, 2023
1 parent 564ff5c commit a95108b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/shortcodes/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
{{ $image := strings.TrimPrefix "./" $image }}
{{ $image := $.Page.Resources.GetMatch $image }}
{{ with $image }}
{{ $image := .Resize "x200" }}
{{ $image := $image.Crop "200x200 center" }}
{{ $image := .Resize "x220" }}
{{ $image := $image.Crop "220x220 center" }}
<div data-bs-toggle="modal" data-bs-target="#{{ $name }}Modal" role="button" class="flex-grow-0 flex-shrink-0 me-2">
<div data-bs-target="#{{ $name }}Carousel" data-bs-slide-to="{{ $idx }}">
<img src="{{ $image.RelPermalink }}" class="img-thumbnail" alt="{{ $image.Name }}">
Expand Down

0 comments on commit a95108b

Please sign in to comment.