From f40cbdfe47f62dec80f1985d052cda4dbfaa94fe Mon Sep 17 00:00:00 2001 From: Daniel Pett Date: Mon, 23 May 2022 00:53:23 +0100 Subject: [PATCH] Add heights --- resources/views/components/associated-curator.blade.php | 1 + resources/views/components/audioguide-card.blade.php | 1 + resources/views/components/exhibition-card.blade.php | 1 + resources/views/components/fundraising-card.blade.php | 8 ++++++-- resources/views/components/gallery-card.blade.php | 4 +++- resources/views/components/governance-card.blade.php | 4 +++- resources/views/components/image-card.blade.php | 4 +++- resources/views/components/partner-card.blade.php | 7 +++++-- resources/views/components/solr-card.blade.php | 7 +++++-- resources/views/components/spoliation-card.blade.php | 1 + resources/views/components/ttn-artist.blade.php | 1 + resources/views/components/ttn-labels.blade.php | 1 + resources/views/components/ttn-viewpoints.blade.php | 1 + resources/views/components/viewpoint.blade.php | 1 + 14 files changed, 33 insertions(+), 9 deletions(-) diff --git a/resources/views/components/associated-curator.blade.php b/resources/views/components/associated-curator.blade.php index c4e8a21f..db13b5b0 100644 --- a/resources/views/components/associated-curator.blade.php +++ b/resources/views/components/associated-curator.blade.php @@ -6,6 +6,7 @@ A profile image of {{ $curator['associated_people_id']['display_name'] }} diff --git a/resources/views/components/audioguide-card.blade.php b/resources/views/components/audioguide-card.blade.php index f88634ff..a98d9493 100644 --- a/resources/views/components/audioguide-card.blade.php +++ b/resources/views/components/audioguide-card.blade.php @@ -5,6 +5,7 @@ {{ $altTag }} diff --git a/resources/views/components/exhibition-card.blade.php b/resources/views/components/exhibition-card.blade.php index bb3670bc..6b7f7209 100644 --- a/resources/views/components/exhibition-card.blade.php +++ b/resources/views/components/exhibition-card.blade.php @@ -5,6 +5,7 @@ {{ $altTag }} diff --git a/resources/views/components/fundraising-card.blade.php b/resources/views/components/fundraising-card.blade.php index 6bea44e5..9b2aebd8 100644 --- a/resources/views/components/fundraising-card.blade.php +++ b/resources/views/components/fundraising-card.blade.php @@ -2,9 +2,13 @@
@isset($donate['hero_image']) - {{ $donate['hero_image_alt_text'] }} @else diff --git a/resources/views/components/gallery-card.blade.php b/resources/views/components/gallery-card.blade.php index a654cc4f..9775bf25 100644 --- a/resources/views/components/gallery-card.blade.php +++ b/resources/views/components/gallery-card.blade.php @@ -2,9 +2,11 @@
@isset($image) - {{ $altTag }} diff --git a/resources/views/components/governance-card.blade.php b/resources/views/components/governance-card.blade.php index 033892fd..0e689a4d 100644 --- a/resources/views/components/governance-card.blade.php +++ b/resources/views/components/governance-card.blade.php @@ -2,9 +2,11 @@
@isset($image['data']['thumbnails']) - {{ $altTag }} diff --git a/resources/views/components/image-card.blade.php b/resources/views/components/image-card.blade.php index bc6e002c..40121daa 100644 --- a/resources/views/components/image-card.blade.php +++ b/resources/views/components/image-card.blade.php @@ -2,9 +2,11 @@
@isset($image) - {{ $altTag }} diff --git a/resources/views/components/partner-card.blade.php b/resources/views/components/partner-card.blade.php index 8eac3722..81663313 100644 --- a/resources/views/components/partner-card.blade.php +++ b/resources/views/components/partner-card.blade.php @@ -2,9 +2,12 @@
@isset($image) - {{ $altTag }} @else diff --git a/resources/views/components/solr-card.blade.php b/resources/views/components/solr-card.blade.php index 8cb50957..9e1c0add 100644 --- a/resources/views/components/solr-card.blade.php +++ b/resources/views/components/solr-card.blade.php @@ -2,8 +2,11 @@
@if(!is_null($result['smallimage'])) - Highlight image for {{ $result['title'][0] }} + Highlight image for {{ $result['title'][0] }} @else {{ $claim['alt_text'] }} diff --git a/resources/views/components/ttn-artist.blade.php b/resources/views/components/ttn-artist.blade.php index 11cef4a7..1f13111e 100644 --- a/resources/views/components/ttn-artist.blade.php +++ b/resources/views/components/ttn-artist.blade.php @@ -14,6 +14,7 @@ src="{{ $artists['image']['data']['thumbnails'][13]['url'] }}" alt="{{ $artists['display_name'] }}" width="{{ $artists['image']['data']['thumbnails'][13]['width'] }}" + height="{{ $artists['image']['data']['thumbnails'][13]['height'] }}" loading="lazy" /> diff --git a/resources/views/components/ttn-labels.blade.php b/resources/views/components/ttn-labels.blade.php index 5e8f0649..cbd3e49e 100644 --- a/resources/views/components/ttn-labels.blade.php +++ b/resources/views/components/ttn-labels.blade.php @@ -5,6 +5,7 @@ {{ $labels['alt_text'] }} @else diff --git a/resources/views/components/ttn-viewpoints.blade.php b/resources/views/components/ttn-viewpoints.blade.php index 6f180a31..ed4c3fa3 100644 --- a/resources/views/components/ttn-viewpoints.blade.php +++ b/resources/views/components/ttn-viewpoints.blade.php @@ -6,6 +6,7 @@ src="{{$viewpoint['associated_artworks'][0]['ttn_labels_id']['image']['data']['thumbnails'][13]['url']}}" alt="{{ $viewpoint['associated_artworks'][0]['ttn_labels_id']['alt_text'] }}" width="{{ $viewpoint['associated_artworks'][0]['ttn_labels_id']['image']['data']['thumbnails'][13]['width'] }}" + height="{{ $viewpoint['associated_artworks'][0]['ttn_labels_id']['image']['data']['thumbnails'][13]['height'] }}" loading="lazy"/> @else diff --git a/resources/views/components/viewpoint.blade.php b/resources/views/components/viewpoint.blade.php index 6e84dca3..3e83ba16 100644 --- a/resources/views/components/viewpoint.blade.php +++ b/resources/views/components/viewpoint.blade.php @@ -6,6 +6,7 @@ {{ $image['ttn_labels_id']['alt_text'] }}
{{$image['ttn_labels_id']['image']['title']}}