Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
d8b8317b
Commit
d8b8317b
authored
Jun 11, 2021
by
Stefan Busemann
Browse files
[TASK] Set maxHeight for all images
parent
debdfab1
Pipeline
#12294
passed with stages
in 4 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Resources/Private/Extensions/Randombanners/Templates/Banner/Index.html
View file @
d8b8317b
...
...
@@ -11,11 +11,11 @@
<f:link.page
class=
"t3js-banner"
target=
"_blank"
additionalParams=
"{randombanners: '{banner: banner.uid}'}"
additionalAttributes=
"{data-uid: banner.uid, rel: settings.linkAttributeRel}"
>
<f:if
condition=
"{banner.externalLogo}"
>
<f:then>
<f:image
src=
"{banner.externalLogo}"
alt=
"{banner.name}"
maxWidth=
"150"
/>
<f:image
src=
"{banner.externalLogo}"
alt=
"{banner.name}"
maxWidth=
"150"
maxHeight=
"62"
/>
</f:then>
<f:else>
<f:if
condition=
"{banner.logo}"
>
<f:image
image=
"{banner.logo}"
alt=
"{banner.name}"
maxWidth=
"150"
/>
<f:image
image=
"{banner.logo}"
alt=
"{banner.name}"
maxWidth=
"150"
maxHeight=
"62"
/>
</f:if>
</f:else>
</f:if>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment