Compare commits

..

No commits in common. "6806031931b3fbe1e6bb7cbbf3e5fe4c238aec15" and "f1dd6da7d499b569d3eb3114fd9037fb01e0819e" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -95,7 +95,6 @@ class BaseElementEx extends DataExtension
$page = $el->getPage(); $page = $el->getPage();
if ($page) { if ($page) {
$el->setField('Title', $page->getField('Title')); $el->setField('Title', $page->getField('Title'));
$el->setField('ShowTitle', true);
} }
} }
} }

View File

@ -12,8 +12,8 @@
<% if $Image || $ImageURL %> <% if $Image || $ImageURL %>
<span class="img"> <span class="img">
<img class="carousel__img" <img class="carousel__img"
src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>" src="{$EmptyImgSrc}"
loading="lazy" data-lazy-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 %>"
/> />
</span> </span>