mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
FIX: IMG sizing
This commit is contained in:
parent
a29dbde9d0
commit
bf8e13fcdf
@ -15,8 +15,8 @@
|
|||||||
<% if not $IsFirst %>loading="lazy"<% end_if %>
|
<% if not $IsFirst %>loading="lazy"<% end_if %>
|
||||||
src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>"
|
src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>"
|
||||||
alt="<% if $Headline %>$Headline.XML<% end_if %>"
|
alt="<% if $Headline %>$Headline.XML<% end_if %>"
|
||||||
width="1920"
|
width="$SlideWidth"
|
||||||
height="410"
|
height="$SlideHeight"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
Reference in New Issue
Block a user