From 482c5809fbc9804c9e5966d5cdcc3f060079c138 Mon Sep 17 00:00:00 2001 From: OndraPetrzilka <ondra.petrzilka@gmail.com> Date: Wed, 24 Aug 2022 17:11:14 +0200 Subject: [PATCH] resolution changed for main images --- main/templates/main/main_article_page.html | 2 +- main/templates/main/main_person_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/templates/main/main_article_page.html b/main/templates/main/main_article_page.html index 66fcdc43..115c4978 100644 --- a/main/templates/main/main_article_page.html +++ b/main/templates/main/main_article_page.html @@ -2,7 +2,7 @@ {% load static wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags %} {% block content %} - {% image page.image max-3840x2160 as main_img %} + {% image page.image max-1920x800 as main_img %} {% with before_title=page.date after_title=page.after_name subtitle=page.position image_url=main_img.url %} {% include 'main/includes/layout/photo_page_header.html' %} {% endwith %} diff --git a/main/templates/main/main_person_page.html b/main/templates/main/main_person_page.html index faa8d654..d343ffbd 100644 --- a/main/templates/main/main_person_page.html +++ b/main/templates/main/main_person_page.html @@ -3,7 +3,7 @@ {% block content %} <main role="main"> - {% image page.main_image max-3840x2160 as main_img %} + {% image page.main_image max-1920x800 as main_img %} {% with before_title=page.before_name after_title=page.after_name subtitle=page.position image_url=main_img.url %} {% include 'main/includes/layout/photo_page_header.html' %} {% endwith %} -- GitLab