Skip to content

Commit

Permalink
[BUGFIX] change maxWidth and add maxHeight to use correct parameter (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mesosa authored and dmh committed Mar 1, 2019
1 parent 6c65146 commit 9b0ccf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="contacts-card__contacts-photo _img-overlay {f:cObject(typoscriptObjectPath:'lib.responsiveContactCards', data:image.uid)}"></div>
</f:then>
<f:else>
<f:image class="img-responsive contacts-card__contacts-photo" image="{image}" maxWidth="{settings.defaultWidth}" cropVariant="default" />
<f:image class="img-responsive contacts-card__contacts-photo" image="{image}" maxWidth="{data.imagewidth}" maxHeight="{data.imageheight}" cropVariant="default" />
</f:else>
</f:if>
</f:if>
Expand Down

0 comments on commit 9b0ccf4

Please sign in to comment.