Skip to content

Commit

Permalink
Merge pull request #934 from web-illinois/feature/magjarvis/issue-926…
Browse files Browse the repository at this point in the history
…-add-content-slider-component

updated image style to cards_image
  • Loading branch information
trubach authored Aug 23, 2023
2 parents 1e60103 + 6991206 commit 5e31b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/paragraphs/paragraph--cards.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="field__items">
{% for item in content.field_cards_content['#items'] %}
{% set image = content.field_cards_content[loop.index0]['#paragraph'].field_cards_content_image.entity.fileuri|image_style('content_slider_cards') %}
{% set image = content.field_cards_content[loop.index0]['#paragraph'].field_cards_content_image.entity.fileuri|image_style('cards_image') %}
{% set image_alt = content.field_cards_content[loop.index0]['#paragraph'].field_cards_content_image.alt %}
{% set title = content.field_cards_content[loop.index0]['#paragraph'].field_cards_content_title.value %}
{% set body = content.field_cards_content[loop.index0]['#paragraph'].field_cards_content_body.value %}
Expand Down

0 comments on commit 5e31b79

Please sign in to comment.