Skip to content

Commit

Permalink
fix: Pass 'c_limit' param to hi_def URL
Browse files Browse the repository at this point in the history
  • Loading branch information
petesfrench committed Dec 19, 2024
1 parent f7d951a commit d5937f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canonicalwebteam/templates/image_template.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img
src="https://res.cloudinary.com/canonical/image/fetch/{{ std_def_cloudinary_options }}/{{ url }}"
{%- if hi_def %}
srcset="https://res.cloudinary.com/canonical/image/fetch/{{ hi_def_cloudinary_options }}/{{ url }} 2x"
srcset="https://res.cloudinary.com/canonical/image/fetch/c_limit,{{ hi_def_cloudinary_options }}/{{ url }} 2x"
{%- endif %}
alt="{{ alt }}"
width="{{ width }}"
Expand Down

0 comments on commit d5937f3

Please sign in to comment.