@extends('layouts.app') @section('content')
It will calculate automatically all the product and blog article images.
On click of optimize all button it will get and optimize all product and blog article images of your store.
It is a one click go for your store, it will optimize and put images back to your store.
@if($total != '')
Compression
@if(!empty($success)) @else
There are {{ $total }} images that can be optimized.
@csrf
@endif
@if(!empty($success)) @else

Scroll down for example Image compression.

Example product:  

{{ $pname }}


Original

Optimize

Original size: 47.2 KB

Optimized size: 36.4 KB (23% reduction)

@endif
@else
Compression
There is no image for compression
@endif
@endsection