Skip to content
Snippets Groups Projects
Commit 482c5809 authored by OndraPetrzilka's avatar OndraPetrzilka
Browse files

resolution changed for main images

parent 89db3551
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!589Feature/pirati cz ondra,!575Feature/pirati cz
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% load static wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags %} {% load static wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags %}
{% block content %} {% 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 %} {% 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' %} {% include 'main/includes/layout/photo_page_header.html' %}
{% endwith %} {% endwith %}
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% block content %} {% block content %}
<main role="main"> <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 %} {% 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' %} {% include 'main/includes/layout/photo_page_header.html' %}
{% endwith %} {% endwith %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment