Skip to content

Commit

Permalink
Improve the card image quality
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Mar 6, 2025
1 parent 1fa4855 commit 5791d41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dw_design_system/dwds/elements/content_image.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% load wagtailimages_tags static %}

{% if content_image %}
{% image content_image fill-420x240 class="content-image" %}
{% image content_image fill-544x306 class="content-image" %}
{% else %}
<img class="content-image"
src="{% static '/images/dwds/fallback_image_card.png' %}"
alt="Colourful circles on a blue background."
width="420"
height="240">
width="544"
height="306">
{% endif %}

0 comments on commit 5791d41

Please sign in to comment.