Skip to content

Commit

Permalink
Merge pull request #307 from FitzwilliamMuseum/issue-306-image-qualit…
Browse files Browse the repository at this point in the history
…y-exhibitions

Change key for images
  • Loading branch information
portableant authored May 7, 2022
2 parents ecbe599 + 3edb37c commit f9dc7a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/views/components/exhibition-card.blade.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<div class="col-md-4 mb-3">
<div class="card card-fitz h-100">
@isset($image)
{{-- @dd($image['data']['thumbnails'])--}}
<a href="{{ route($route, $params) }}">
<img class="card-img-top" src="{{ $image['data']['thumbnails'][2]['url']}}"
<img class="card-img-top" src="{{ $image['data']['thumbnails'][13]['url']}}"
alt="{{ $altTag }}"
width="{{ $image['data']['thumbnails'][2]['width'] }}"
width="{{ $image['data']['thumbnails'][13]['width'] }}"
loading="lazy"/>
</a>
@else
Expand Down

0 comments on commit f9dc7a7

Please sign in to comment.