@extends('layouts.master') @section('page_title', 'Image Library') @section('content')
{{ Form::page_header("Image Library", "paper_stack") }}

All Images ({{ $promo_images->count() }})

Default Image

{{ \App\Helpers\Promo_Image_Helper::main_image_label(',') }} ({{ $image_counts->get('main_images') }})

{{ \App\Helpers\Promo_Image_Helper::network_image_label(',') }} ({{ $image_counts->get('network_images') }})

{{ \App\Helpers\Promo_Image_Helper::landing_image_label(',') }} ({{ $image_counts->get('landing_images') }})

{{ \App\Helpers\Promo_Image_Helper::square_image_label(',') }} ({{ $image_counts->get('square_images') }})

Facebook Ad, 1200 X 628 ({{ $image_counts->get('facebook_ad_images') }})

Email Header, 600px ({{ $image_counts->get('email_header_images') }})

Wordpress Image, 675 X 372 ({{ $image_counts->get('wordpress_image') }})


Logos ({{ $logos->count() }})

Email Header, ≤390w ({{ $logo_counts->get('email_headers') }})

Network Promo, ≤100h ({{ $logo_counts->get('network_promos') }})

All Images

@foreach($promo_images as $image)
{!! Html::image($image->thumbnail_image, null, ['class' => 'thumbnail-img']) !!} {!! Form::hidden('image-id', $image->promo_image) !!} {!! Form::hidden('original-img', $image->original_image) !!} {!! Form::hidden('main-img', $image->main_image) !!} {!! Form::hidden('resize-main-img', $image->resize_main_image) !!} {!! Form::hidden('network-img', $image->network_image) !!} {!! Form::hidden('resize-network-img', $image->resize_network_image) !!} {!! Form::hidden('landing-img', $image->landing_image) !!} {!! Form::hidden('resize-landing-img', $image->resize_landing_image) !!} {!! Form::hidden('square-img', $image->square_image) !!} {!! Form::hidden('resize-square-img', $image->resize_square_image) !!} {!! Form::hidden('sponsor-img', $image->sponsor_image) !!} {!! Form::hidden('resize-sponsor-img', $image->resize_sponsor_image) !!} {!! Form::hidden('facebook-ad-img', $image->facebook_ad_image) !!} {!! Form::hidden('resize-facebook-ad-img', $image->resize_facebook_ad_image) !!} {!! Form::hidden('facebook-carousel-img', $image->facebook_carousel_image) !!} {!! Form::hidden('resize-facebook-carousel-img', $image->resize_facebook_carousel_image) !!} {!! Form::hidden('email-header-img', $image->email_header_image) !!} {!! Form::hidden('resize-email-header-img', $image->resize_email_header_image) !!} {!! Form::hidden('wordpress-img', $image->wordpress_image) !!} {!! Form::hidden('resize-wordpress-img', $image->resize_wordpress_image) !!} {!! Html::image($image->original_image, null, ['class' => 'hover-image', 'hidden' => true]) !!}
@endforeach @foreach($logos as $logo) @endforeach
{!! Form::open(['id' => 'default-img-form']) !!}
@foreach($promo_images as $image) @if($image->main_image && $image->network_image && $image->landing_image && $image->square_image) @endif @endforeach
{!! Form::close() !!}
@include('shared.modals._upload_image_modal') {{--Crop Image Modal--}} {{--Resize Logo Modal--}} @endsection @section('page_script') @include('shared_script.modals._upload_image_script') @endsection