Skip to content
Snippets Groups Projects
Commit 5e6304af authored by Tomi Valentová's avatar Tomi Valentová
Browse files

fix images

parent e5534540
No related branches found
No related tags found
2 merge requests!1109Release,!1108Release
Pipeline #19377 passed
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
{% for candidate in self.candidates %} {% for candidate in self.candidates %}
{% with candidate.page.specific as specific_page %} {% with candidate.page.specific as specific_page %}
{% if candidate.image %} {% if candidate.image %}
{% image candidate.image max-756x756 as resized_candidate_image %} {% image candidate.image fill-756x756 as resized_candidate_image %}
{% else %} {% else %}
{% image specific_page.image max-756x756 as resized_candidate_image %} {% image specific_page.profile_image fill-756x756 as resized_candidate_image %}
{% endif %} {% endif %}
{% firstof candidate.description specific_page.perex as description %} {% firstof candidate.description specific_page.perex as description %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment