diff --git a/shared/templates/styleguide2/includes/atoms/articles/side_image.html b/shared/templates/styleguide2/includes/atoms/articles/side_image.html index 8d53375c7882ffb8afbbde708527a8570604d1cd..f001d7ef1d7e0f0966f253b89983675444f8a9d1 100644 --- a/shared/templates/styleguide2/includes/atoms/articles/side_image.html +++ b/shared/templates/styleguide2/includes/atoms/articles/side_image.html @@ -9,7 +9,7 @@ lg:mx-8 lg:my-4 lg:w-2/5 " > - {% image image original as side_image %} + {% image image max-512x512 as side_image %} <img class="my-0" diff --git a/shared/templates/styleguide2/includes/molecules/candidates/elections/candidate_footer_box.html b/shared/templates/styleguide2/includes/molecules/candidates/elections/candidate_footer_box.html index 5082ed1bfefb76469c480c91c48ebf115d9c2184..fee6f2b169bf54536818e5dd750ceb010158ddb0 100644 --- a/shared/templates/styleguide2/includes/molecules/candidates/elections/candidate_footer_box.html +++ b/shared/templates/styleguide2/includes/molecules/candidates/elections/candidate_footer_box.html @@ -10,7 +10,7 @@ lg:min-w-[24rem] " > - {% image candidate_page.image original as candidate_image %} + {% image candidate_page.image max-512x512 as candidate_image %} <img class="w-3/5" diff --git a/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_primary_list.html b/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_primary_list.html index 3996ca9181b4e3f571c3f4026bf9f81516ad1d03..4c0b9af7e5dc181bee8083aa7aacb2d02d5fc9d1 100644 --- a/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_primary_list.html +++ b/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_primary_list.html @@ -6,9 +6,9 @@ > {% for candidate in self.candidates %} {% if candidate.image %} - {% image candidate.image original as resized_candidate_image %} + {% image candidate.image max-756x756 as resized_candidate_image %} {% else %} - {% image candidate.page.image original as resized_candidate_image %} + {% image candidate.page.image max-756x756 as resized_candidate_image %} {% endif %} {% include "styleguide2/includes/molecules/candidates/elections/candidate_primary_box.html" with name=candidate.page.title position=candidate.page.position description=candidate.description url=candidate.page.url candidate_image=resized_candidate_image %} diff --git a/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_secondary_list.html b/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_secondary_list.html index f3ea70a2d9911d6fb89fabd67220f868c4905769..f5ed3054b6a44a43b9d241773caf7b6b651ba77b 100644 --- a/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_secondary_list.html +++ b/shared/templates/styleguide2/includes/organisms/candidates/elections/candidate_secondary_list.html @@ -10,9 +10,9 @@ name: '{{ candidate.page.title }}', {% if candidate.image %} - {% image candidate.image original as resized_candidate_image %} + {% image candidate.image max-756x756 as resized_candidate_image %} {% else %} - {% image candidate.page.image original as resized_candidate_image %} + {% image candidate.page.image max-756x756 as resized_candidate_image %} {% endif %} imageSource: '{{ resized_candidate_image.url }}', diff --git a/shared/templates/styleguide2/includes/organisms/faq/faq_answer.html b/shared/templates/styleguide2/includes/organisms/faq/faq_answer.html index 800cb3680ff53d72a49d83d8e3308d9ce6bb94d1..cf6ed262147eb9d0100b2e2ec247432ca430acf9 100644 --- a/shared/templates/styleguide2/includes/organisms/faq/faq_answer.html +++ b/shared/templates/styleguide2/includes/organisms/faq/faq_answer.html @@ -63,9 +63,9 @@ </div> {% if self.image %} - {% image self.image original as person_image %} + {% image self.image max-512x512 as person_image %} {% else %} - {% image self.person_page.image original as person_image %} + {% image self.person_page.image max-512x512 as person_image %} {% endif %} <img diff --git a/shared/templates/styleguide2/includes/organisms/header/elections/candidate_header.html b/shared/templates/styleguide2/includes/organisms/header/elections/candidate_header.html index 1f6beeec04b84ec11e8df14f4768c4578f4308c4..b03948fc9c2fa8fce97e3f3394de83a3da69c103 100644 --- a/shared/templates/styleguide2/includes/organisms/header/elections/candidate_header.html +++ b/shared/templates/styleguide2/includes/organisms/header/elections/candidate_header.html @@ -77,7 +77,7 @@ flex justify-center items-start grow w-full " > - {% image image original as person_image %} + {% image image max-756x756 as person_image %} <img class="lg:w-3/5"