FEATURE: use thumbnails in content overview and Appearance tab

This commit is contained in:
Michal Kváček
2016-09-26 20:58:59 +02:00
parent a11a29de19
commit 07df49c481
2 changed files with 2 additions and 2 deletions
@@ -3,7 +3,7 @@
<div id="titlePhotoContainer"
class="col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3 col-sm-12 title-photo text-center">
<input type="hidden" id="existingTitlePhoto" value="{{$page->title_photo}}" name="existingTitlePhoto">
<p><img src="{{config('app.upload_url')}}/{{$page->title_photo}}" alt="" /></p>
<p><img src="@thumbnail($page->title_photo)" alt="" /></p>
<p>
<a href="javascript:void(0)" id="removeTitlePhoto" class="btn btn-warning" data-toggle="tooltip"
title="@lang('admin/contents.deleteTitlePhoto')"><i
@@ -40,7 +40,7 @@
title="@lang('admin/contents.invalidTemplateSelected')"></i>
@else
@if(!empty($page->title_photo))
<img src="@upload($page->title_photo)" class="placeholder" alt="{{$page->title}}" />
<img src="@thumbnail($page->title_photo)" class="placeholder" alt="{{$page->title}}" />
@else
<img src="{{asset('resources/assets/admin/img/placeholder.png')}}"
class="placeholder"