Remove images from NH articles due to potential copyright issues
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
@foreach($content as $block)
|
@foreach($content as $block)
|
||||||
@if($block->type == "headerRichA")
|
@if($block->type == "headerRichA")
|
||||||
|
{{--
|
||||||
@php($block->image->url = isset($block->image->crops)
|
@php($block->image->url = isset($block->image->crops)
|
||||||
? $block->image->crops->{'16:9'}->{'1600'}
|
? $block->image->crops->{'16:9'}->{'1600'}
|
||||||
: $block->image->crop)
|
: $block->image->crop)
|
||||||
@@ -42,6 +43,7 @@
|
|||||||
<span class="author">{{$block->image->author}}</span>
|
<span class="author">{{$block->image->author}}</span>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
--}}
|
||||||
@elseif($block->type == "text")
|
@elseif($block->type == "text")
|
||||||
<div class="text">{!!$block->text!!}</div>
|
<div class="text">{!!$block->text!!}</div>
|
||||||
@elseif($block->type == "intro")
|
@elseif($block->type == "intro")
|
||||||
@@ -67,6 +69,7 @@
|
|||||||
$image = $block->image->imageHigh;
|
$image = $block->image->imageHigh;
|
||||||
else $image = null;
|
else $image = null;
|
||||||
?>
|
?>
|
||||||
|
{{--
|
||||||
@if($image)
|
@if($image)
|
||||||
<a class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" href="{{$image}}"
|
<a class="post_image page_margin_top prettyPhoto" rel="prettyPhoto" href="{{$image}}"
|
||||||
title="{{$block->image->title}} © {{$block->image->author}}">
|
title="{{$block->image->title}} © {{$block->image->author}}">
|
||||||
@@ -89,6 +92,7 @@
|
|||||||
{!!$sentence!!}
|
{!!$sentence!!}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
--}}
|
||||||
@elseif($block->type == "video" || $block->type == "headerVideo")
|
@elseif($block->type == "video" || $block->type == "headerVideo")
|
||||||
@include('widgets/mediaplayer')
|
@include('widgets/mediaplayer')
|
||||||
<?php
|
<?php
|
||||||
@@ -150,7 +154,10 @@
|
|||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
<a href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
|
<a href="{{ route('nieuws.detail', ['id' => $article->id, 'title' => $article->slug]) }}"
|
||||||
title="{{ $article->title }}">
|
title="{{ $article->title }}">
|
||||||
|
{{--
|
||||||
<img src="{{ $article->image[0] == '/' ? '' : '/' }}{{ $article->image }}" alt="{{ $article->image_title }}">
|
<img src="{{ $article->image[0] == '/' ? '' : '/' }}{{ $article->image }}" alt="{{ $article->image_title }}">
|
||||||
|
--}}
|
||||||
|
<img src="/images/logo-NHGooi.svg" style="object-fit: contain;" alt="{{ $article->title }}">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Reference in New Issue
Block a user