#107306Cropped Image HTML output with duplicated "height" attribute
Description
If an image is generated in Fluid as shown below, the rendered HTML is showing an additional “height” attribute with the origin crop directive.
<f:image class="img-fluid"
image="{file}"
width="140c"
heigth="140c"
decoding="auto"
fileExtension="webp"
alt="{file.alternative}"
loading="{f:if(condition:'{file.properties.lazyload_disabled} == 1', then:'eager', else:'lazy')}"
title="{file.title}" />
Results in:
<img class="img-fluid" heigth="140c" decoding="auto" alt="alternative text" loading="lazy" src="/fileadmin/_processed_/9/6/csm_xyz.webp" width="140" height="140">
This happens at least in TYPO3 v13.4.16 and v13.4.17
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Oliver Bartsch commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-08-19T14:31:52+00:00" > 08/19/25, 14:31 </span> -
Tobias Riesemann commented and changed assigned to Tobias Riesemann priority
Should have-- undefined -- done0 %100 % <span data-processor="relativetime" data-value="2025-08-20T07:42:43+00:00" > 08/20/25, 07:42 </span>oops, thank you! … didn’t seen that! Sorry for that report!
-
Garvin Hicking changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2025-08-20T08:25:00+00:00" > 08/20/25, 08:25 </span>
Hi Tobias,
thank you for your report. It seems like there is a typo in your argument. It should be
height="140c"instead. I think this will fix the issue :)Best,
Oli