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